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 "David Costanzo (JIRA)" <xe...@xml.apache.org> on 2016/06/21 14:08:58 UTC

[jira] [Updated] (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 ]

David Costanzo updated XERCESJ-1564:
------------------------------------
    Fix Version/s: 2.12.0

For the purpose of release tracking, the fix was made to trunk in subversion revision 1343961.  The fix was made to the xml-schema-1.1-dev branch in revision 1343964.

> 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
>             Fix For: 2.12.0
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org