<div dir="ltr">Hi,<div>the CITE test engine is generating the following request:</div><div><br></div><div><pre class="gmail-language-markup" style="box-sizing:inherit;word-wrap:break-word;overflow:auto;font-size:13px;line-height:19.5px;display:block;color:rgb(55,59,65);font-family:Menlo,Monaco,Consolas,monospace;padding:1em;margin:0.5em 0px;word-break:normal;background:rgb(250,250,250);border:1px solid rgb(221,221,221);border-radius:4px 0px 4px 4px;direction:ltr;text-align:left;white-space:pre;word-spacing:0px;font-style:normal;font-weight:400;height:auto;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-indent:0px;text-transform:none;text-decoration-style:initial;text-decoration-color:initial"><code class="gmail-language-markup" style="box-sizing:inherit;font-size:13px;padding:0px;font-family:Menlo,Monaco,Consolas,monospace;color:rgb(55,59,65);background-color:transparent;white-space:pre;border-radius:0px;direction:ltr;text-align:left;word-spacing:normal;word-break:normal;font-style:normal;font-weight:400;height:auto;line-height:19.5px"><span class="gmail-token gmail-prolog" style="box-sizing:inherit;color:rgb(153,153,153)"><?xml version="1.0"?></span>
<span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"><</span><span class="gmail-token gmail-namespace" style="box-sizing:inherit;color:rgb(204,102,102)">wfs:</span>GetFeature</span> <span class="gmail-token gmail-attr-name" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-namespace" style="box-sizing:inherit;color:rgb(204,102,102)">xmlns:</span>wfs</span><span class="gmail-token gmail-attr-value" style="box-sizing:inherit;color:rgb(181,189,104)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">=</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span><a href="http://www.opengis.net/wfs/2.0">http://www.opengis.net/wfs/2.0</a><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span></span> <span class="gmail-token gmail-attr-name" style="box-sizing:inherit;color:rgb(204,102,102)">count</span><span class="gmail-token gmail-attr-value" style="box-sizing:inherit;color:rgb(181,189,104)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">=</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span>10<span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span></span> <span class="gmail-token gmail-attr-name" style="box-sizing:inherit;color:rgb(204,102,102)">service</span><span class="gmail-token gmail-attr-value" style="box-sizing:inherit;color:rgb(181,189,104)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">=</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span>WFS<span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span></span> <span class="gmail-token gmail-attr-name" style="box-sizing:inherit;color:rgb(204,102,102)">startIndex</span><span class="gmail-token gmail-attr-value" style="box-sizing:inherit;color:rgb(181,189,104)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">=</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span>0<span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span></span> <span class="gmail-token gmail-attr-name" style="box-sizing:inherit;color:rgb(204,102,102)">version</span><span class="gmail-token gmail-attr-value" style="box-sizing:inherit;color:rgb(181,189,104)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">=</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span>2.0.0<span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span></span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
  <span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"><</span><span class="gmail-token gmail-namespace" style="box-sizing:inherit;color:rgb(204,102,102)">wfs:</span>Query</span> <span class="gmail-token gmail-attr-name" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-namespace" style="box-sizing:inherit;color:rgb(204,102,102)">xmlns:</span>ns50</span><span class="gmail-token gmail-attr-value" style="box-sizing:inherit;color:rgb(181,189,104)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">=</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span><a href="http://cite.opengeospatial.org/gmlsf">http://cite.opengeospatial.org/gmlsf</a><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span></span> <span class="gmail-token gmail-attr-name" style="box-sizing:inherit;color:rgb(204,102,102)">typeNames</span><span class="gmail-token gmail-attr-value" style="box-sizing:inherit;color:rgb(181,189,104)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">=</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span>ns50:PrimitiveGeoFeature ns50:PrimitiveGeoFeature<span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span></span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
    <span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"><</span>Filter</span> <span class="gmail-token gmail-attr-name" style="box-sizing:inherit;color:rgb(204,102,102)">xmlns</span><span class="gmail-token gmail-attr-value" style="box-sizing:inherit;color:rgb(181,189,104)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">=</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span><a href="http://www.opengis.net/fes/2.0">http://www.opengis.net/fes/2.0</a><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">"</span></span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
      <span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"><</span>Intersects</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
        <span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"><</span>ValueReference</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>ns50:PrimitiveGeoFeature/ns50:surfaceProperty<span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"></</span>ValueReference</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
        <span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"><</span>ValueReference</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>ns50:PrimitiveGeoFeature/ns50:curveProperty<span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"></</span>ValueReference</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
      <span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"></</span>Intersects</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
    <span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"></</span>Filter</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
  <span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"></</span><span class="gmail-token gmail-namespace" style="box-sizing:inherit;color:rgb(204,102,102)">wfs:</span>Query</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span>
<span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-tag" style="box-sizing:inherit;color:rgb(204,102,102)"><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)"></</span><span class="gmail-token gmail-namespace" style="box-sizing:inherit;color:rgb(204,102,102)">wfs:</span>GetFeature</span><span class="gmail-token gmail-punctuation" style="box-sizing:inherit;color:rgb(204,102,102)">></span></span></code></pre><div><br></div><div>Now, as you can see, it's a self join, but does not contain any alias declaration. As stated, software could be (imho) legitimately</div><div>think it's not actually a join, and that the two fiters are both referring to the first "instance" of the feature type.</div><div><br></div><div>I've checked the specification, all self join examples use aliases, but I do not see a clear request to use aliases on self-join.</div><div>Referencing a significant bit (from 7.9.2.4.2 "query the feature types aliases parameter"):</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div>Aliases are typically used in query expressions, that perform a join operation (see 7.9.2.5.3), to support self-</div></div></div><div><div><div>joins. That is a join of one feature type back to itself.</div></div></div><div><div><br></div></div><div><div><div>EXAMPLE</div></div></div><div><div><div>typeNames="myns:Feat1 myns:Feat1" aliases="a b"</div></div></div><div><div><div><br></div></div></div><div><div><div>In this example, the first feature type, myns:Feat1, is aliased to the name "a" and the second feature type, myns:Feat1, is</div></div></div><div><div><div>aliased to the name "b". Thus properties from the first instance of myns:Feat1 can be referenced in a request as</div></div></div><div><div><div>"/a/property_name" and properties from the second instance of myns:Feat1 can be referenced in a request as</div></div></div><div><div><div>"/b/property_name" where the token "property_name" is used as a place holder for the name of any property of the feature</div></div></div><div><div><div>myns:Feat1.</div></div></div></blockquote><div><div><br></div><div>So... can anybody clarifiy if this is an issue in the test engine, or if the servers are indeed supposed to understand</div><div>the above request?</div><div><br></div><div>Cheers</div><div>Andrea</div><div><br></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font size="2"><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Andrea Aime </span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@geowolf</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Technical Lead</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054  Massarosa (LU)</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob: +39  339 8844549</span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br><br></span></font></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><font size="2">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><font size="2">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><font size="2"> </font></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><font size="2">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></span></p><div><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span></div></span></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>