Bad parsing of GetFeature request --------------------------------- Key: GEOT-1439 URL: http://jira.codehaus.org/browse/GEOT-1439 Project: GeoTools Issue Type: Bug Components: core filter Affects Versions: 2.3.2 Environment: Win XP, SDK 1.5.0 Reporter: Ondrej Zidek Priority: Critical Attachments: temp.xml
If two features in GetFeature request contains two different filters: e.g. first filter is AND filter and second filter is INTERSECTS filter, the parsed result is not correct. The reason is bad value assigned in FilterFilter.isLogicFilter variable during parsing the second filter. I fixed it myself by adding statement: isLogicFilter=false; into FilterFilter.startElement method just bellow insideFilter = true; It solved the problem and i thing that it is the right solution. The example of described GetFeature request is attached. -- 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel