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 bu...@apache.org on 2002/12/13 19:34:35 UTC

DO NOT REPLY [Bug 15372] New: - DOMBuilder::parseFromURI ignores result of handleErrors

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15372>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15372

DOMBuilder::parseFromURI ignores result of handleErrors

           Summary: DOMBuilder::parseFromURI ignores result of handleErrors
           Product: Xerces-C++
           Version: 2.1.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: colin@colina.demon.co.uk


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org