The CITE tests are issuing a self joining request without using aliases, as follows:
XML Input:
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs/2.0" count="10" service="WFS" startIndex="0" version="2.0.0"> <wfs:Query xmlns:ns99="http://cite.opengeospatial.org/gmlsf" typeNames="ns99:PrimitiveGeoFeature ns99:PrimitiveGeoFeature"> <Filter xmlns="http://www.opengis.net/fes/2.0"> <Intersects> <ValueReference>ns99:PrimitiveGeoFeature/ns99:surfaceProperty</ValueReference> <ValueReference>ns99:PrimitiveGeoFeature/ns99:curveProperty</ValueReference> </Intersects> </Filter> </wfs:Query> </wfs:GetFeature>
Output: select all tree view raw view
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs/2.0" count="10" service="WFS" startIndex="0" version="2.0.0">
<wfs:Query xmlns:ns99="http://cite.opengeospatial.org/gmlsf" typeNames="ns99:PrimitiveGeoFeature ns99:PrimitiveGeoFeature">
<Filter xmlns="http://www.opengis.net/fes/2.0">
<Intersects>
<ValueReference>
ns99:PrimitiveGeoFeature/ns99:surfaceProperty
</ValueReference>
<ValueReference>
ns99:PrimitiveGeoFeature/ns99:curveProperty
</ValueReference>
</Intersects>
</Filter>
</wfs:Query>
</wfs:GetFeature>
Discussion on whether this is valid or not has stalled, so I’m making GeoServer understand the above regardless…
|