[jdom-interest] Bug in JDOM or not ????????
Chris
chris at bitmead.com
Wed Aug 20 06:26:24 PDT 2003
Hi,
I'm parsing a file that looks like this....
<element>
®
</element>
But JDOM dies with this error....
org.jdom.input.JDOMParseException: Error on line 2: Reference to
undefined entity "®".
My understanding is that ® is valid XML. Certainly it is part of XHTML.
The spec I read here.....
http://www.w3.org/TR/xhtml1/Overview.html#issues
Seems to indicate it is ok....
"In both SGML and XML, the ampersand character ("&") declares the
beginning of an entity reference (e.g., ® for the registered
trademark symbol "®")."
Is this a bug or is there something I don't understand???
More information about the jdom-interest
mailing list