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=4202>. 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=4202 Parser do not throw exceptions Summary: Parser do not throw exceptions Product: Xerces-C++ Version: 1.5.1 Platform: All OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Non-Validating Parser AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If i have this file: begin bad.xml no XML here! end and try to parse it i would expect to get an exception from any parser, but this code hides problems until later DOM_Parser parser; parser.parse ("bad.xml"); DOM_Document doc = parser.getDocument(); // doc is bad at this point Shouldn't parser throw exceptions if non-XML stuff is fed into it? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]