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

 

 

WriteDOMSessionTransformer.patch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to