[
https://issues.apache.org/jira/browse/XERCESJ-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Glavassevich resolved XERCESJ-1564.
-------------------------------------------
Resolution: Fixed
> Error occurs if root type definition or root element declaration uses
> namespace names that are not interned
> -----------------------------------------------------------------------------------------------------------
>
> Key: XERCESJ-1564
> URL: https://issues.apache.org/jira/browse/XERCESJ-1564
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.0 Structures
> Affects Versions: 2.11.0
> Reporter: Sandy Gao
> Assignee: Sandy Gao
>
> http://apache.org/xml/properties/validation/schema/root-element-declaration
> http://apache.org/xml/properties/validation/schema/root-type-definition
> These properties accept QNames. The namespace part of the QName is sometimes
> compared with other namespace values using ==, because most namespace values
> in Xerces are interned. This comparison fails when the QName's namespace is
> not interned. This will in turn cause other errors, e.g.
> [Error] test.xsd:4:31: TargetNamespace.1: Expecting namespace 'test', but the
> target namespace of the schema document is 'test'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]