Hi Colin,

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

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

Sorry about the confusion here...

Dave



                                                                                
                                                               
                      Colin Paul Adams                                          
                                                               
                      <[EMAIL PROTECTED]         To:      
[email protected]                                                    
       
                      mon.co.uk>               cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                                   
                                               Subject: Re: Capturing output 
(Was: function-available not working)                             
                      03/05/2003 09:59                                          
                                                               
                      AM                                                        
                                                               
                                                                                
                                                               



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

    David> If you're running this from within Eiffel, there may be
    David> some issues with stderr, although it would be very strange

I don't think so - the interface with C++ is very clean. And all other
errors from Xerces (I implemented the whole of the DOM) and Xalan appear.

    David> to see output from xsl:message and not see an error
    David> message.  Can you write a quick C++ program to test your
    David> C++ interface to Eiffel?

No. At least, not quickly, since there are callback interfaces
involved.

    David> And just to be sure, are you working with a CVS drop, or
    David> from a particular release?

CVS (I have to use Xercesc 2.2).
--
Colin Paul Adams
Preston Lancashire


Reply via email to