[
https://issues.apache.org/jira/browse/XERCESC-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Boris Kolpackov updated XERCESC-1621:
-------------------------------------
Fix Version/s: 2.9.0
3.0.0
> ##targetNamespace results in a bogus UPA violation error
> --------------------------------------------------------
>
> Key: XERCESC-1621
> URL: https://issues.apache.org/jira/browse/XERCESC-1621
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (XML Schema)
> Affects Versions: 2.7.0
> Environment: all
> Reporter: Boris Kolpackov
> Fix For: 3.0.0, 2.9.0
>
> Attachments: bug.xsd
>
>
> The following schema fragment:
> <complexType name="AnyTargetNamespace">
> <sequence maxOccurs="unbounded">
> <element name="apple" type="string"/>
> <any namespace="##targetNamespace" processContents="skip" minOccurs="1"
> maxOccurs="unbounded"/>
> </sequence>
> </complexType>
> causes Xerces-C++ to fail with the following (bogus) error:
> :0:0: error: Complex type 'AnyTargetNamespace' violates the Unique Particle
> Attribution rule in its components 'apple' and '##any'
> There is no UPA violation in the above fragment. Xerces-J, Jing and MSV agree.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]