You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2006/07/20 16:17:15 UTC
[jira] Commented: (XERCESC-1621) ##targetNamespace results in a
bogus UPA violation error
[ http://issues.apache.org/jira/browse/XERCESC-1621?page=comments#action_12422425 ]
Boris Kolpackov commented on XERCESC-1621:
------------------------------------------
It appears that maxOccurs="unbounded" is causing this somehow.
> ##targetNamespace results in a bogus UPA violation error
> --------------------------------------------------------
>
> Key: XERCESC-1621
> URL: http://issues.apache.org/jira/browse/XERCESC-1621
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (Schema) (Xerces 1.5 or up only)
> Affects Versions: 2.7.0
> Environment: all
> Reporter: Boris Kolpackov
> 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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org