Filtering by nested attribute only returns the first match
----------------------------------------------------------

                 Key: GEOT-3973
                 URL: https://jira.codehaus.org/browse/GEOT-3973
             Project: GeoTools
          Issue Type: Bug
          Components: app-schema plugin
    Affects Versions: 2.7.3
            Reporter: Rini Angreani
            Assignee: Ben Caradoc-Davies
             Fix For: 2.7.4


E.g. 

<wfs:GetFeature service="WFS" version="1.1.0"
  xmlns:wfs="http://www.opengis.net/wfs";
  xmlns:ogc="http://www.opengis.net/ogc";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:gml="http://www.opengis.net/gml";
  xmlns:ows="http://www.opengis.net/ows";
  xmlns:ahgf_cn="http://bom.gov.au/namespaces/ahgf/hr_catchments/1.0";
xsi:schemaLocation="http://bom.gov.au/namespaces/ahgf/hr_catchments/1.0
 
https://www.seegrid.csiro.au/subversion/ASRDC/BOM/AHGF/schema/hr_catchments/1.0/ahgf_hr_catchments.xsd
http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";
maxFeatures="1">
  <wfs:Query typeName="ahgf_cn:AHGFLink ">
      <ogc:Filter>
           <ogc:PropertyIsEqualTo>
             
<ogc:PropertyName>ahgf_cn:toNode/ahgf_cn:AHGFNode/ahgf_cn:conLevel</ogc:PropertyName>
             <ogc:Literal>2</ogc:Literal>
           </ogc:PropertyIsEqualTo>
      </ogc:Filter>
    </wfs:Query>
</wfs:GetFeature>

is meant to return multiple features, but only the first feature was returned.
 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to