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

Eddy, Joel joel.eddy at medinex.com
Thu Jul 27 09:13:22 PDT 2000

how did you get the SAXBuilder working.. dont you need the Builder class to
get it to work ... WHO HAS THE BUILDER CLASS... I NEED IT :)

-----Original Message-----
From: John Pearcey [mailto:johnp at mmconsultants.demon.co.uk]
Sent: Thursday, July 27, 2000 8:28 AM
Subject: [jdom-interest] Namespace problems in Attributes...

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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20000727/6e9cdece/attachment.htm

More information about the jdom-interest mailing list