Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

RE: [jdom-interest] Two namespace-questions

Michael Kay

2007-05-11

Replies:

> 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/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.