[jdom-interest] Bug in JDOMSource or maybe SAXoutputter.

Ken Rune Helland kenh at csc.no
Mon Jun 11 08:01:02 PDT 2001

At 11:33 AM 6/11/2001 +0200, Laurent Bihanic wrote:

>Revisiting the patch code after the week-end made it look not so good!
>Two issues with the patch in SAXOutputter:
>  - It never reports the namespace of the element itself, only the 
> additional namespaces, and
>  - It reports all additional namespaces without checking the already 
> declared namespaces (NamespaceStack).
>Included is a fix to the above problems where startPrefixMapping() builds 
>the list of xmlns attributes to declare in startElement().
>Sorry for the trouble!
>Jason Hunter wrote:
>>I just checked in Laurent's patch for this.  Ken, could you please
>>verify the latest code in CVS works OK for you now?

This patch works for my documents, that is the namespacedeclarition
is correctly copied to the destination document.


More information about the jdom-interest mailing list