On Tue, 21 Jan 2003 15:45:38 -0500, Don McClimans wrote:
>In my application, my custom problemListener is never called, and
>XalanTransformer::getLastError() returns:
> Invalid character (Unicode: 0x4)
>
>So I'm back to wondering how to get the line number of the error.
This does the trick for us (and you cannot get much shorter code):
catch (XSLException& e) {
std::cerr << e.defaultFormat().transcode().begin()) << std::endl;
}
Ciao, J�rgen
--
J�rgen Hermann, Developer
WEB.DE AG, http://webde-ag.de/