[jdom-interest] xmlns="" in children elements of root

Alex Rosen arosen at silverstream.com
Wed Aug 29 08:56:05 PDT 2001


There's a FAQ entry on jdom.org about namespaces that talks about this.

Alex

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Rodney S. Foley
> Sent: Wednesday, August 29, 2001 11:12 AM
> To: 'jdom-interest at jdom.org'
> Subject: [jdom-interest] xmlns="" in children elements of root
> 
> 
> I tried this with the beta 7 binaries, and also downloaded the source
> yesterday (8-28-01) afternoon and have the same problem.
> 
> When I give my root element (using XMLOutputter) a namespace of just
> "xmlns=http://www.someplace.com" I do not explicitly assign a 
> namespace to
> any of the children elements at any level, but the first 
> level children of
> the root are assigned a namespace of 'xmlns=""' which I can 
> not figure out
> why and can not get ride of it.  This should not be happening 
> and makes it
> invalid against the schema.  
> 
> Has anyone had this happen to them, and/or does anyone know 
> how to correct
> this.
> 
> Rodney S. Foley
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com



More information about the jdom-interest mailing list