Hi I have one xml file that contains the following line <one COMMENT="US$1 > &lbs;0.5306."/>
and a dtd file called "latin.dtd" that has this line <!ENTITY lbs "£" ><!-- pound sterling sign --> Whenever I use SAXReader.read(inputxml) to read the xml file, I get the following error: The entity "lbs" was referenced, but not declared. Nested exception: The entity "lbs" was referenced, but not declared. The parsing will be fine if I add <!DOCTYPE HTML1 PUBLIC "-//BLAH" "latin.dtd"> to the beginning of the xml file. Is there a way to get around this issue, without declaring <!DOCTYPE> in the xml file? Should I try EntityResolver? Thanks -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user