<!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.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=220121003-17122000>Sorry if this has
already been covered, but Element.getAdditionalNamespaces() does not seem
to be returning namespace declarations correctly using the 12/13 build.
Here are two examples to reproduce this:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=220121003-17122000>-In the
namespaces.xml file in the samples directory, if you do
getAdditionalNamespaces() for the root element of this document (stylesheet)
only two of the three namespace declarations are returned, JavaXML and
foo. This seems wrong?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=220121003-17122000>-In the
testNamespaces.xml files in the samples directory, modify this file by adding a
default namespace to the root of this document (Template), like xmlns="<A
href="http://www.jdom.org">http://www.jdom.org</A>". Now build
this file into a document object, and do getAdditionalNamespaces() for Template,
no namespace declarations will be returned.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=220121003-17122000>Am I missing
something?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=220121003-17122000>Rick</SPAN></FONT></DIV></BODY></HTML>