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

Bradley S. Huffman hip at csa.cs.okstate.edu
Thu Jul 3 08:22:32 PDT 2003


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



More information about the jdom-interest mailing list