<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
span.EmailStyle17
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink="#606420">
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Just out of curiousity, I was wondering why if you call
Element.getChild( elementName ) without explicitly passing a namespace, why
does JDOM assume no namespace rather than assuming the namespace of the parent
element ( the element you are calling getChild() against )?</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>It seems like that since when the XML is parsed, child
elements that don’t have a namespace defined inherit their parent
elements namespace, that the getChild() method would behave the same way when
not passing a specific namespace in. </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Just my $0.02</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thoughts?</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><strong><b><font size=2 face=Verdana><span style='font-size:
10.0pt;font-family:Verdana'>Chris Schmidt</span></font></b></strong></p>
<p class=MsoNormal><font size=1 color=blue face=Verdana><span style='font-size:
7.5pt;font-family:Verdana;color:blue'>Web Developer</span></font></p>
<p class=MsoNormal><font size=1 color=blue face=Verdana><span style='font-size:
7.5pt;font-family:Verdana;color:blue'>ServiceMagic</span></font></p>
<p class=MsoNormal><font size=1 color=blue face=Verdana><span style='font-size:
7.5pt;font-family:Verdana;color:blue'>email: </span></font><a
href="mailto:cschmidt@servicemagic.com"></a><a
href="mailto:cschmidt@servicemagic.com"><font size=1 face=Verdana><span
style='font-size:7.5pt;font-family:Verdana'>cschmidt@servicemagic.com</span></font></a></p>
<p class=MsoNormal><font size=1 color=blue face=Verdana><span style='font-size:
7.5pt;font-family:Verdana;color:blue'>phone: 303-963-7254</span></font></p>
<p class=MsoNormal><font size=1 color=blue face=Verdana><span style='font-size:
7.5pt;font-family:Verdana;color:blue'>web: </span></font><a
href="http://www.servicemagic.com"><font size=1 face=Verdana><span
style='font-size:7.5pt;font-family:Verdana'>http://www.servicemagic.com</span></font></a></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>