ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | September 2004 Index

<--  Date Index  --> <--  Thread Index  -->

CDATA hack in XHTML needs filtering the writeDOM output - how?


Hi,

in order to get CDATA hack working with XHTML I would need to filter the
output of comms.response.writeDOM() - I need to remove the "<![CDATA["
and "]]>" from the output stream. How can I do that?

Jacob (in XMLC list) suggested to use (Tomcat) servlet filters but I
don't know about such possibility in Enhydra 5.1 (am I overlooking
something?). 

Another suggestion was to "just grab the stream coming out of XMLC,
manipulate it as you need, and then send it on to the HTTP response".
How can I do that easily in Enhydra? The
ServletHttpPresentationResponse.outputDocumentBytes is private so I
won't be able to override it. And I don't like the idea of copy&pasting
most of the writeDOM internals into my project just to get to the output
stream. Is there an easier way?

Thanks

Petr





<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.