>>>>> "David" == David N Bertoni/Cambridge/IBM <[EMAIL PROTECTED]> writes:

    David> Hi Colin,

    David> OK, I just realized what's happening -- this is coming from
    David> an exception and is not going through the ProblemListener
    David> mechanism.  This was reported a while back, but it turned
    David> out there was no easy solution to problem.  This is a
    David> general problem and is why the whole ProblemListener
    David> mechanism needs to be removed or revised.

I repeat, I had not installed a ProblemListener, so it does not
explain (to me, unless there is some kind of ProblemListener installed
by default) why I did not see the error.

    David> So, you probably need to check the error return from
    David> XalanTransformer and look at that in the cases where you
    David> don't get anything from the ProblemListener mechanism.  If
    David> it's non-zero, you can get the last error from
    David> XalanTransformer::getLastError().

This works, but I would prefer to be able to implement
ProblemListener, or some such mechanism.
-- 
Colin Paul Adams
Preston Lancashire

Reply via email to