Hello,
I have some questions regarding XalanTransformerProblemListener. This is a bit of my source code to get rid of everything going to stderr:
class IX_XalanTransformerProblemListener : public XalanTransformerProblemListener {
public:
IX_XalanTransformerProblemListener() : XalanTransformerProblemListener(0, 0) {} ;
}
pT = new XalanTransformer() ;
pPL = new IX_XalanTransformerProblemListener();
pT->setProblemListener(pPL);
...
delete pPL; pPL = NULL;
I check the return value from XalanTranformer::transform(), so I am aware of problems while transforming. I checked that it works, but to be sure:
Q1: Is there an example how to use the XalanTransformerProblemListener class?
Q2: Is the code OK?
Q3: Can I share one instance of ProblemListener between several XalanTransformers running in different threads? I guess I can't.
Cheers, Miro.
- Errors and Warnings on stdout mvasicek
- Re: Errors and Warnings on stdout David N Bertoni/Cambridge/IBM
- Re: Errors and Warnings on stdout mvasicek
- Re: Errors and Warnings on stdout mvasicek
- Re: Errors and Warnings on stdout David N Bertoni/Cambridge/IBM
