Hi Kohsuke This was certainly by mistake; it is indeed a bug. I've patched the code - thanks for spotting it. Its fixed now in CVS. I'll try get the daily build updated soon (there's a problem with it right now).
James ----- Original Message ----- From: "Kohsuke Kawaguchi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 13, 2002 11:07 PM Subject: [dom4j-dev] A bug in DefaultElement.getNamespaceForPrefix method? > > This method doesn't seem to handle prefix "xml" properly. > Is this a bug, or is this by design? > > The same method in the base class, AbstractElement, handles this prefix > properly. I encountered this problem in dom4j 1.3, but as far as I can > tell from the CVS repository, it still exists in the latest version. > > regards, > ---------------------- > Kohsuke Kawaguchi > E-Mail: [EMAIL PROTECTED] > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > dom4j-dev mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dom4j-dev > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev