Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1634

Enhancment on Xerces-C++ error message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 3.0.0
    • Miscellaneous
    • None
    • All platforms

    Description

      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.

      Attachments

        1. xercesc.zip
          39 kB
          Tao Wu

        Activity

          People

            Unassigned Unassigned
            wrenashe Tao Wu
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: