OGC Filter parsing
------------------
Key: GEOT-2601
URL:
http://jira.codehaus.org/browse/GEOT-2601 Project: GeoTools
Issue Type: Bug
Affects Versions: 2.6-M1
Environment: Win32, Java 16u14
Reporter: Tomasz Płuciennik
Priority: Minor
Attachments: ElementHandlerImpl.java, wrong_filter1.xml, wrong_filter2.xml
There are two types of incorrect OGC Filters which Geotools do not report as incorrect and tend to lose data.
Filters are:
- ogc:Not with multiple child filters instead of one (example wrong_filter1.xml in the attachment),
- root filter (ogc:Filter) with multiple child filters instead of one (example wrong_filter2.xml in the attachment).
The are no error messages and only the first child filter is accessible.
The problem occurs in gt-xsd-core. My workaround is also included in the attachment: additional code in startChildHandler(Handler child) method in ElementHandlerImpl.java.
--
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
------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-devel