[ http://issues.apache.org/jira/browse/XERCESC-1541?page=comments#action_12361057 ]
David Bertoni commented on XERCESC-1541: ---------------------------------------- There should be no problem with throwing exceptions from ErrorHandler::error(). In fact, this is what your ErrorHandler must do to stop the parser from continuing. Can you please describe with more detail what you mean when you say "xercess becomes unstable?" If there is a problem with the Xerces-C code, we need to investigate and fix it. > Add to programming api > ---------------------- > > Key: XERCESC-1541 > URL: http://issues.apache.org/jira/browse/XERCESC-1541 > Project: Xerces-C++ > Type: Improvement > Components: Documentation > Versions: 2.7.0 > Environment: Windows > Reporter: tim van meerbeeck > > When I used the SAXParser of xercess and I wanted to throw exceptions from > the void SAXHandler::error(const SAXParseException& e) method it generated > runtime errors. > I found out that you must not throw exceptions (or rethrow ) in those methods > because otherwise xercess becomes unstable. > Can you please add this clearly to the documentation because I searched for > this error a couple of days so I don't want other programmers put through the > same problems again. > thx. -- 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]
