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

John Pearcey johnp at mmconsultants.demon.co.uk
Thu Jul 27 08:28:25 PDT 2000


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
?






More information about the jdom-interest mailing list