[jdom-interest] Second element xmlns=""

Myron Uecker muecker at us.ibm.com
Fri Sep 17 07:36:18 PDT 2004

I created a brand new XML document, added a root element with two 
namespaces, xmlns="..." and xmlns:xsi="...".  I then added several more 
elements and sub-elements.  On the second element, I get xmlns="" .  Why 
is this?  Can it be shut off?  Here's an example:

<?xml version="1.0" encoding="UTF-8"?>
<SubmitRequest xmlns="http://myns" 
<ResourcePlan xmlns="" resource="..." day="2004-08-06">
  <ResourcePlanHourly hour="01">

I'm using JDOM v1.0.  Thank you.

Myron Uecker
muecker at us.ibm.com

More information about the jdom-interest mailing list