[
https://issues.apache.org/jira/browse/XERCESC-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Cantor updated XERCESC-806:
---------------------------------
Fix Version/s: (was: 2.9.0)
3.0.0
> Schema containing "xs:any namespace=##local" fails validation
> -------------------------------------------------------------
>
> Key: XERCESC-806
> URL: https://issues.apache.org/jira/browse/XERCESC-806
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (XML Schema)
> Affects Versions: 2.2.0
> Environment: Operating System: Windows XP
> Platform: PC
> Reporter: Alberto Massari
> Assignee: Boris Kolpackov
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: ASF.LICENSE.NOT.GRANTED--relaxng.xsd,
> ASF.LICENSE.NOT.GRANTED--test_local.xml,
> ASF.LICENSE.NOT.GRANTED--test_local.xsd
>
>
> If you take the attached files and run "SaxCount -n -f -s test_local.xml",
> you
> will get this error:
> Error at file c:\testcase\test_local.xml, line 3, char 51
> Message: 'pippo' and '##any' violate the Unique Particle Attribution rule
> while XSV 2.2 validates it fine.
> Note that the schema has no ##any inside it, while it has a ##local
> directive;
> could it be that the validator is reading ##local and using ##any?
> Alberto
> P.S. The bug is against version 2.1 because there is no entry (yet) for 2.2,
> but the bug is present also in 2.2
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]