Bruno Dumon wrote:
This is a problem in the Xalan serializer. You could file a bug report
with them. (but make sure you're using the latest version -- I seem to
remember that something like this was fixed before).
I can remember this bug already exists in Cocoon 2.1.x (!). I will see
to report this bug to the xalan group.
As a workaround, you can include a transformer in your pipeline that
throws away all events between the start and end of the doctype. For
example, inserting an identity XSLT transform will do this (though not
in the most optimal way).
Did you have an example how to do that?
Thank you.
Regards
Stephan