cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Weinger" <>
Subject [C2][patch] WriteDOMSessionTransformer
Date Tue, 25 Sep 2001 19:11:21 GMT
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. 

View raw message