cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject AW: [C2][patch] WriteDOMSessionTransformer
Date Wed, 26 Sep 2001 13:06:04 GMT
Thanks for your patch, Greg!

It's applied - please cross-check


Open Source Group                        sunShine - b:Integrated
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn                          mailto:

-----Ursprungliche Nachricht-----
Von: Greg Weinger []
Gesendet: Dienstag, 25. September 2001 21:11
Betreff: [C2][patch] WriteDOMSessionTransformer

This patch fixes a bug in the WriteDOMSessionTransformer, which does not
currently build xml documents with namespaces correctly.

This is because critical startPrefixMapping(prefix,uri) events are arriving
before the DOMBuilder is initialized, by a startElement() event.  The prefix
mappings are therefore never passed to the DOMBuilder.  My solution was to
store these uri/prefix values in a Map until the DOMBuilder is initialized,
then fire those events before firing the root element event.


To unsubscribe, e-mail:
For additional commands, email:

View raw message