cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Unico Hommes" <>
Subject RE: New DOMStreamer not backwards compatible
Date Wed, 05 Mar 2003 22:01:30 GMT

> > I think that DOMStreamer should only output such a declaration if
> > the Node to stream is of type Document. Reasonable?
> >
> Yes, this is right, so actually you found a bug. Can you enter this
> as a bug in bugzilla, please.


> > Anyway, I fixed the problem by setting
> > DOMStreamer.setNormalizeNamespacesOn( false ). Perhaps this
> > should also be the default setting, as "This class
> > [NamespaceNormalizingDOMStreamer] has of course more overhead
> > then the normal DOM-streamer, so only use it in cases where it's
> > needed" (quoted from the NamespaceNormalizingDOMStreamer javadoc).
> >
> Yes, but it's much safer to have the NamespaceNormalizingDOMStreamer
> as default because of some severe bugs in Xalan; if you have
> in your dom, it's safer to use the NamespaceNormalizingDOMStreamer.

Could you expand on this, what could happen? I've been using DOMStreamer
some time now in situations that heavily use xml name spacing and
haven't experienced any problems.


View raw message