[ http://issues.apache.org/jira/browse/XERCESC-1634?page=all ]

Tao Wu updated XERCESC-1634:
----------------------------

    Attachment: xercesc.zip

Attachment is the changed codes for this improvement, Currently 
XSDErrorReporter has to be left alone.

xercesc
│
├───framework
│       XMLValidator.cpp
│
└───internal
        XMLReader.cpp
        XMLReader.hpp
        XMLScanner.cpp


> Enhancment on Xerces-C++ error message
> --------------------------------------
>
>                 Key: XERCESC-1634
>                 URL: http://issues.apache.org/jira/browse/XERCESC-1634
>             Project: Xerces-C++
>          Issue Type: Improvement
>          Components: Miscellaneous
>    Affects Versions: 2.6.0
>         Environment: All platforms
>            Reporter: Tao Wu
>            Priority: Minor
>         Attachments: xercesc.zip
>
>
> Currently Xerces-C++'s error message is not very user-friendly. In my 
> situation, I have to display some lines of raw xml document around where 
> error happens. Thus, the error message could be like this,
> Error generated during parsing. - Datatype error, 
> Type:SchemaDateTimeException, Message:TimeZone is expected ! '1922-11-26X' . 
> - ..> <born> 1922-11-26x </born>^ <dead> 2000-02-12 </dead> </author> .. - 
> Line 17, Col 20.
> This improvement can come along with Issue XERCESC-634.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to