[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to