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

Jason Hunter jhunter at collab.net
Mon Jun 11 11:06:11 PDT 2001


Integrated.  Ken, please verify all is well still.

-jh-

Laurent Bihanic wrote:
> 
> Hi,
> 
> 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!
> 
> Laurent
> 
> 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?
> >
> > -jh-
> >
> 
>   ------------------------------------------------------------------------
>                          Name: attrNS-bugfix2.jar
>    attrNS-bugfix2.jar    Type: Java Archive (application/java-archive)
>                      Encoding: base64



More information about the jdom-interest mailing list