[ 
https://issues.apache.org/jira/browse/XERCESJ-1492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich reassigned XERCESJ-1492:
---------------------------------------------

    Assignee: Michael Glavassevich

> 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
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to