cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <>
Subject RE: DO NOT REPLY [Bug 17378] - Xalan DOM to SAX namespace "bug" alternative fix.
Date Wed, 26 Feb 2003 09:26:38 GMT
On Wed, 2003-02-26 at 08:07, Carsten Ziegeler wrote:
> Great, Bruno!
> This was exactly what I was thinking about after your comments
> from monday - but you beat me :)


> Now, what do you think of not creating an own streamer but
> integrating it into the usual DOMStreamer - this would be
> a little bit less performant but avoid any problems.
> Because if you stream a DOM you might not know which streamer
> you have to use, so you end up using your alternative
> in every place anyway.
> What do you think?

mixed feelings. How about we make it a property of the DOMStreamer,
setNamespaceCorrection(true/false) or something, and make it true by

In case it is false, the normal jaxp identity transformer would be used.

BTW, these issues about namespaces made me think of an old idea: it
would be handy if there was some "CheckTransformer" that could check
that the output generated by another transformer is valid, i.e. that all
namespace-related events are correct, that the values of the
namespaceURI, localName and qName make sense, that for each startElement
there's an endElement, ...

Bruno Dumon                   
Outerthought - Open Source, Java & XML Competence Support Center

View raw message