[jdom-interest] Re: SAXOutputter bug with empty namespaces

Tatu Saloranta cowtowncoder at yahoo.com
Tue Aug 14 09:33:09 PDT 2007

It is not an error to do this, although it is redundant and therefore sub-optimal. So getting rid of it seems like an improvement. I think StaxOutputter (which is probably in contrib or so?) for example wouldn't add such declaration.

-+ Tatu +-

----- Original Message ----
From: Gunter Ohrner <G.Ohrner at post.rwth-aachen.de>
To: jdom-interest at jdom.org
Sent: Tuesday, August 14, 2007 1:28:24 AM
Subject: [jdom-interest] Re: SAXOutputter bug with empty namespaces


Mary Ellen Foster wrote:
> If you check out the latest JDom from CVS and compile it, that bug is
> fixed.

I just tested JDOM's latest nightly source drop and it seems to me as if the
partial fix from the discussion I mentioned has been included, though JDOM
still generates am empty xmlns-attribute if the elements have no namespace


<myxml xmlns="">
        <atag />

Is this to be expected?



To control your jdom-interest membership:

Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.

More information about the jdom-interest mailing list