Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
2.7.0
-
None
-
None
-
all
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
XERCESC-1758 Incorrect "Unique Particle Attribution rule in its components '##other' and '##any'" with FAST Schema definition
- Closed