[jdom-interest] Namespace problems in Attributes...

Jason Hunter jhunter at acm.org
Thu Jul 27 10:38:07 PDT 2000

You are using the CVS code, right?

I suggest you use a debugger or add an out.println() to the Namespace
code to see exactly what it's doing.  Find out what prefix/uri pair it
is choking on.  Figure out if it's getting confused somewhere.


John Pearcey wrote:
> I used the SAXBuilder with the Apache parser and get the following error:
> org.jdom.IllegalNameException: The name "" is not legal for JDOM/XML
> namespaces: Namespace URIs must be non-null and non-empty Strings..
> whilst parsing a document that includes the following line:
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> It seems to be the xml:lang="en" that gives the builder a problem. Any ideas
> ?
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list