You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Mukul Gandhi (JIRA)" <xe...@xml.apache.org> on 2010/02/20 16:26:27 UTC

[jira] Commented: (XERCESJ-1422) improvement to error message for error code, cos-all-limited.2

    [ https://issues.apache.org/jira/browse/XERCESJ-1422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836188#action_12836188 ] 

Mukul Gandhi commented on XERCESJ-1422:
---------------------------------------

just made a commit for this issue. kindly verify the fix.

Regards,
Mukul

> 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: 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org