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 2008/06/25 10:14:45 UTC
[jira] Closed: (XERCESC-1621) ##targetNamespace results in a bogus
UPA violation error
[ https://issues.apache.org/jira/browse/XERCESC-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov closed XERCESC-1621.
------------------------------------
Resolution: Invalid
Fix Version/s: (was: 2.9.0)
(was: 3.0.0)
Assignee: Boris Kolpackov
This is actually a case of UPA violation and is correctly reported by Xerces-C++. See http://lists.w3.org/Archives/Public/xmlschema-dev/2008Jun/0038.html for more information.
> ##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
> Assignee: 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org