<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4207.2601" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=481493223-08112000>There is a bug in
the latest codeset (I am using jdk1.3.0). I am trying to build() an XML
doc that in the root element has a default namespace declared, like
this:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=481493223-08112000><?xml
version="1.0" encoding="UTF-8"?><BR><Template xmlns="<A
href="http://www.yahoo.com">www.yahoo.com</A>"></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000>
<Application1 xmlns:xplt="<A href="http://www.xxxx.com">www.xxxx.com</A>"
xmlns:xpl="<A href="http://www.xxxx.com">www.xxxx.com</A>"
version="3.0"></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000>
<xpl:insertText /></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000>
<xplt:anyElement></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000>
<Name /></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000>
</xplt:anyElement></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=481493223-08112000>
</Application1></SPAN></FONT><FONT face=Arial size=2><SPAN
class=481493223-08112000><BR>
<Application2 xmlns:xplt="<A href="http://www.xxxx.com">www.xxxx.com</A>"
xmlns:xpl="<A href="http://www.xxxx.com">www.xxxx.com</A>"
version="3.0"> <BR>
<xpl:insertText /></DIV>
<DIV>
<xplt:anyElement></DIV>
<DIV>
<Name /></DIV>
<DIV>
</xplt:anyElement></DIV>
<DIV>
</Application2></DIV>
<DIV></Template></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=481493223-08112000><FONT face=Arial size=2>After building this
file and creating the org.jdom.Document object, All is fine, except the default
namespace (in this case for </FONT><A href="http://www.yahoo.com"><FONT
face=Arial color=#000000 size=2>www.yahoo.com</FONT></A><FONT face=Arial
size=2>) </FONT></SPAN><SPAN class=481493223-08112000><FONT face=Arial
size=2>is ignored, ie not present in the doc object. When this same
Document object is then output to a file using XMLOutputter, the file is
complete and correct. The problem is somewhere in the build() process, but
I have not been able to determine the exact cause.</FONT></SPAN></DIV>
<DIV><SPAN class=481493223-08112000><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=481493223-08112000><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=481493223-08112000><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=481493223-08112000><FONT face=Arial size=2>Rick
Nucci</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<P><FONT size=2>______________________________________________<BR><BR>Rick
Nucci<BR>Partner, Boomi Inc.<BR></FONT><FONT size=2>(610)
834-8730<BR>rick_nucci@boomi.com<BR><A target=_blank
href="http://www.boomi.com/">http://www.boomi.com</A> </FONT></P>
<DIV> </DIV></BODY></HTML>