improvement to error message for error code, cos-all-limited.2
--------------------------------------------------------------

                 Key: XERCESJ-1422
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1422
             Project: Xerces2-J
          Issue Type: Improvement
          Components: JAXP (javax.xml.validation), XML Schema 1.0 Structures
    Affects Versions: 2.10.0
            Reporter: Mukul Gandhi
            Assignee: Mukul Gandhi
            Priority: Minor
             Fix For: 2.10.0


In XSD 1.0 mode, within an xs:all model group, the value of maxOccurs could be 
either 0 or 1. If in a XSD 1.0 schema, the value of maxOccurs is specified as 
"unbounded", the Xerces-J error message currently displays the value as "-1" 
(which is Xerces-J's internal value for maxOccurs="unbounded").

I've written a small fix, which displays the string "unbounded" in the error 
message, if an element declaration in xs:all instruction specifies the value of 
maxOccurs as, "unbounded". 

I'll shortly be making a commit to this.



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

Reply via email to