On Mon, Jan 20, 2003 at 07:52:24PM +0100, Oskar Casquero wrote: > I agree with you. I thought that using a serializer would be useful to get > an input source for the parser. But now I see that it would be much better > to use JARV to develop the transformer based only in SAX events (use 4_2 of > JARV), as you suggested. > > I have another question, which is the same I did before: how do I set the > VerifierHandler of JARV in order to send to it the SAX events the > transformer is receiving from the previous component? With > super.setContentHandler(verifierHandler), perhaps? > > public class ValidationTransformer extends AbstractSAXTransformer { > ... > super.setContentHandler(verifierHandler); > ... > }
Yes I think so. As an example of this, have a look at how AbstractSAXTransformer handles 'recorders'. --Jeff > Thank you > Oskar --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>