[jdom-interest] XmlOutputter - printNamespace - NO_NAMESPACE outputs xmlns="", bug?

Phill_Perryman at Mitel.COM Phill_Perryman at Mitel.COM
Thu Jul 3 09:47:19 PDT 2003


Count one vote against, I use JDOM as a persistence mechanism for my Java 
Applications and there is not a single namespace in any one of the 
documents and I don't want to have to add one when I don't need any 
namespace related functionality.

/Phill
IS Dept, Software Engineer.
phill_perryman at mitel.com
http://www.mitel.com
Tel: +44 1291 436023
----- Forwarded by Phill Perryman/Cal/Mitel on 03/07/2003 17:37 -----


"Bradley S. Huffman" <hip at csa.cs.okstate.edu>
Sent by: jdom-interest-admin at jdom.org
03/07/2003 16:22

 
        To:     Rolf Lear <rlear at algorithmics.com>
        cc:     jdom-interest at jdom.org
        Subject:        Re: [jdom-interest] XmlOutputter - printNamespace - NO_NAMESPACE outputs 
xmlns="", bug?


Rolf Lear writes:

> Here is a suggestion... Solve lots of problems.
> 
> Remove public Element(String tag) constructor..... (also throw an =
> exception
> if Namespace in Element(String,Namespace) constructor is null instead =
> of
> reverting it to Namespace.NO_NAMESPACE).
> 
> ;-)
> 
> Solve so many problems. Force people to be aware of how namespaces =
> work, and
> to choose the namespace at construction time.

Hoooraaa, glad I'm not the only one who thinks this way :)

Brad
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20030703/c4d6f3fb/attachment.htm


More information about the jdom-interest mailing list