[
https://issues.apache.org/jira/browse/XERCESJ-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mukul Gandhi updated XERCESJ-1492:
----------------------------------
Fix Version/s: 2.12.0
> maxOccurs checking broken in XML Schema 1.1 beta distribution
> -------------------------------------------------------------
>
> Key: XERCESJ-1492
> URL: https://issues.apache.org/jira/browse/XERCESJ-1492
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.0 Structures, XML Schema 1.1 Structures
> Affects Versions: 2.11.0
> Reporter: Michael Glavassevich
> Assignee: Michael Glavassevich
> Priority: Major
> Fix For: 2.12.0
>
>
> In the XML Schema 1.1 beta distribution of Xerces-J 2.11.0, the code for
> checking overflow of maxOccurs is incorrect. There's an index into a table
> which is off by one and that's allowing more instances to go through than
> should be allowed. We need to increment the index before entering the loop
> in XSDFACM.findMatchingDecl() so that we don't match the same declaration
> again.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]