GML schema parsing issues
-------------------------
Key: GEOS-593
URL: http://jira.codehaus.org/browse/GEOS-593
Project: GeoServer
Type: Bug
Components: Global
Versions: 1.4.M0
Reporter: Rob Atkinson
Assigned to: dblasby
Fix For: 1.4.M0
in a schema with no namespace prefix specified for XSD the schema parser seems to be incorrectly looking for a prefix in the attribute.
<element name="identifier" type="string"/>
fails to resolve the attribute type.
NB:
<element name="identifier" type="xs:string"/>
works if you include an additional namespace declaration:
xmlns:xs="http://www.w3.org/2001/XMLSchema"
if you miss this declaration it fails with no useful information in the logs, even though capturing the error and printing stackTrace shows is fails looking up the namespace prefix as you'd expect.
--
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