You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2009/11/18 06:46:39 UTC

[jira] Closed: (XERCESC-1630) Unclear error description when validation by schema

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

Boris Kolpackov closed XERCESC-1630.
------------------------------------

    Resolution: Won't Fix

I don't think anyone will ever try to do this. The code base is already complex enough.

> Unclear error description when validation by schema
> ---------------------------------------------------
>
>                 Key: XERCESC-1630
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1630
>             Project: Xerces-C++
>          Issue Type: Improvement
>          Components: Validating Parser (DTD)
>    Affects Versions: 2.4.0
>         Environment: Solaris
>            Reporter: woods wang
>
> When using the Xerces to validate the xml by schema, for example, the content model is '((msisdn,imsi),region)', as you know, the msisdn and imsi is mandatory parameters, if the xml is missing the msisdn element, Xerces will report the error 
> "Message: Element 'imsi' is not valid for content model:'((msisdn,imsi),region)'"!!
> I understand that the 'msisdn' is the first expected mandatory parameter, but xerces get the 'imsi' as the first parameter, so it complain the 'imsi' is not valid.
> But could it be possible to change the error description to make it more clear? like "msisdn is missing" something like that...
> thanks,
> //woods

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