Re: Re: SAXOutputter bug with empty namespaces

Tatu Saloranta <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
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 <[email protected]>
To: [email protected]
Sent: Tuesday, August 14, 2007 1:28:24 AM
Subject: [jdom-interest] Re: SAXOutputter bug with empty namespaces

Hi!

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
assigned.

Example:

<myxml xmlns="">
        <atag />
</myxml>

Is this to be expected?

Greetings,

  Gunter

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]





       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting 

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.