AppSchema filters not honouring XPath predicates
------------------------------------------------

                 Key: GEOT-3529
                 URL: http://jira.codehaus.org/browse/GEOT-3529
             Project: GeoTools
          Issue Type: Bug
          Components: data app-schema
            Reporter: Joshua Vote
         Attachments: brokenfilter.xml

When I make a WFS query to a complex feature it seems that any XPath predicates 
are not correctly processed.

For example I have an XPath which is used as part of a PropertyIsEqualTo filter

foo/bar[gml:name='SHOULDNTMATCHANYTHING']/baz

In which the predicate is satisfied for each and every 'bar' element despite it 
not existing. As a sanity check of my XPath I have taken the resulting WFS 
response as an XML document and run the same XPath query on it to confirm that 
no matches are made. For clarity the XPath I am using has a predicate that 
should be FAILING but is in fact PASSING for what seems like EVERY feature.

I've attached a real world example WFS query + filter to this issue

Tested with various geoserver trunk builds - the most recent being 2011-04-20

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to