You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2012/05/29 22:42:22 UTC

[jira] [Reopened] (XERCESJ-1564) Error occurs if root type definition or root element declaration uses namespace names that are not interned

     [ https://issues.apache.org/jira/browse/XERCESJ-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich reopened XERCESJ-1564:
-------------------------------------------


Moving back to resolved state so we can mark the 'fix version' later.
                
> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org