[jdom-interest] XmlOutputter - printNamespace - NO_NAMESPACE
outputs xmlns="", bug?
Elliotte Rusty Harold
elharo at metalab.unc.edu
Fri Jul 4 18:16:11 PDT 2003
At 2:36 AM +0200 7/5/03, Eric VERGNAUD wrote:
>Would someone on this list be less happy if dummies are more happy ?
>
Yes. What you're asking makes the API more complex. It makes it
harder to explain. It makes it less consistent. It is unneeded by
almost everyone who uses JDOM. It is a completely different model of
namespaces than what JDOM uses now. Adding an option here would make
JDOM's internals more complicated, less robust, and more buggy. It
helps users do the wrong thing, and encourages them to misunderstand
and misuse namespaces. It's a lose-lose situation. It's a very bad
idea, and it isn't going to happen.
--
Elliotte Rusty Harold
elharo at metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
More information about the jdom-interest
mailing list