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

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed Jul 2 17:58:37 PDT 2003


At 3:10 PM -0700 7/2/03, John Jefferson wrote:

>Why would there be no concept of a default namespace
>when building a document?


There is, and in the document you provided the default namespace is 
the empty string. You changed it for one element, but not for all 
elements.
-- 

   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