cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
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


Carsten

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: cziegeler@sundn.de
================================================================

-----Ursprungliche Nachricht-----
Von: Greg Weinger [mailto:gweinger@itmedicine.net]
Gesendet: Dienstag, 25. September 2001 21:11
An: cocoon-dev@xml.apache.org
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.

Thanks,
Greg




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message