On Jul 10, 2008, at 18:20, Leonid Geller wrote:
Does anyone know if there is an easy way to tell cocoon to stop
validating the transformed XML output for correctness? E.g. I
intentionally want to not close some element tags.
I'm assuming you're referring to well-formedness (correct XML), not
validation (against a schema/dtd). Since Cocoon handles XML as SAX
events, the documents do need to be well-formed, or else any
transformer/serializer further down the pipeline won't know what to do
with the data.
If possible, I would like to do this for only for some (limited number
of) pipelines while the others will continue to function with
validation
as before.
Only exception that comes to mind is if you want this "broken xml" to
be returned from a pipeline. In that, use the text serializer and have
an XSL to convert the xml characters '<', '>', "&", etc. to their
entities ('<', etc.). I've had to do this to serve QuickTime Link
files that are almost XML.
HTH,
Andre.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]