Inconsistent use of original and copied OGC schema files for validation
-----------------------------------------------------------------------
Key: GEOS-3021
URL: http://jira.codehaus.org/browse/GEOS-3021
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 1.7.4
Environment: Windows 2003 Server, Tomcat 5.5.27, Java 1.6.13
Reporter: Gerhard Sommer
Assignee: Andrea Aime
Priority: Minor
GeoServer has its own copies of schema files for different OGC standards. In the results of WFS requests, these files are referenced in the schemaLocation attribute. But for actual validation in cite-test conformance mode, it looks like the original files from OGC are used.
There is a known bug in the WFS 1.1.0 schema files, which makes it impossible to use type names with "_" in the name (the pattern in TypeNameListType).
I changed this in the GeoServer schema files and hoped, that my request, which formerly produced a validation error in cite-test conformant mode, would now work. But I got the same error again, showing the wrong pattern from the original OGC schema file wfs.xsd. When I type the URL to the GeoServer schema file as it is embedded in the GetFeature result, I get the corrected file, as expected.
Even if I use the URL to the GeoServer files in the schemaLocation of my request, it is ignored.
It would be better to consistently use copies of the schemas or the original files, but not mix them.
Best Regards,
Gerhard
--
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