RE: Two namespace-questions

"Michael Kay" <[email protected]>
Newsgroups gmane.comp.java.jdom.general
Message-ID <00b301c793b3$b28b2140$6401a8c0@turtle>
> Thanks, that solved my problems. But wouldn't it be more 
> plausible if JDOM didn't add xmlns="" to elements without a 
> namespace prefix?

If it didn't add that declaration, the serialized XML would put the element
in a different namespace from the one you created it in.

Michael Kay
http://www.saxonica.com/

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