[Geoserver-users] App-schema ext<wfs:PropertyName> in complex feature query

I have defined complex feature using app-schema extension
I try to query by the attribute - it does work, but when I try to use the
same attribute in <wfs:PropertyName> I have exaption report
<ows:ExceptionText>Requested property: latitude is not available for
sarv:SR_SamplingLocality. </ows:ExceptionText>

working query:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature
version="2.0.0"
service="WFS"
handle="Query01" count="3"
xmlns:wfs="http://www.opengis.net/wfs/2.0&quot;
xmlns:fes="http://www.opengis.net/fes/2.0&quot;
xmlns:gml="http://www.opengis.net/gml/3.2&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:sarv="http://loom-gis.geo.ut.ee/ermas/schemas/sarv&quot;
      
xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd&quot;&gt;

  <wfs:Query typeNames="sarv:SR_SamplingLocality" handle="Q1" >
    
    <fes:Filter>
    
    <fes:PropertyIsGreaterThan>
    <fes:ValueReference>sarv:latitude</fes:ValueReference>
      <fes:Literal>58</fes:Literal>
      
    </fes:PropertyIsGreaterThan>
    
    </fes:Filter>
  </wfs:Query>
</wfs:GetFeature>

Did somebody have the same problem?

Valentina

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/App-schema-ext-wfs-PropertyName-in-complex-feature-query-tp5165742.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Sorry,
query, which source an exception and did not work with the same property

      <wfs:Query typeNames="sarv:SR_SamplingLocality" handle="Q1" >
             <wfs:PropertyName>sarv:latitude</wfs:PropertyName>
        </wfs:Query>

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/App-schema-ext-wfs-PropertyName-in-complex-feature-query-tp5165742p5166061.html
Sent from the GeoServer - User mailing list archive at Nabble.com.