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

DOMBuilder::parseFromURI ignores result of handleErrors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • DOM
    • None
    • Operating System: Linux
      Platform: Other
    • 15372

    Description

      According to the documentation of handleErrors(const DOMError &), the returned
      boolean value should influence whether the parser continues processing or not.

      I find that regardless of which value I return, the parser stops parsing
      immediately upon aencountering a fatal error (most reasonable!), but otherwise
      continues processing regardless of the number of errors.
      This is particularly annoying when validating, and the parser fails to find a
      schema (because of bug #15371, for example), as you then get a LOT of errors.

      Attachments

        Activity

          People

            Unassigned Unassigned
            colin@colina.demon.co.uk Colin Adams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: