Hello,
How to make
XalanSourceTreeParserLiaison to throw exceptions or what kind of exceptions it
throws?
Here is the code: in
case of invalid xml-source there's no XMLException thrown but something else
did.
What is that? Did the ErrorHandler set
correctly here?
try
{
....
XalanSourceTreeParserLiaison liaison (dom_support);
....
ErrorHandler * handler = (ErrorHandler *) new HandlerBase
();
liaison.setErrorHandler (handler);
liaison.setErrorHandler (handler);
....
XalanDocument * const doc = liaison.parseXMLStream
(input);
....
} catch
(XMLException & e) {
....
} catch (...)
{
cout << "Here" << endl;
}
Many
thanks,
Victor S. Popov
------------------------------------
Technology Group Technical Director,
Polar Design, Moscow
E-mail: [EMAIL PROTECTED]
Phone: +7 (095) 363-0708
Victor S. Popov
------------------------------------
Technology Group Technical Director,
Polar Design, Moscow
E-mail: [EMAIL PROTECTED]
Phone: +7 (095) 363-0708
