Re: XML JDOM problems
- From: Joshua Cranmer <Pidgeot18@xxxxxxxxxxx>
- Date: Thu, 28 Jun 2007 21:56:11 GMT
On Wed, 27 Jun 2007 18:28:45 -0700, weetat wrote:
Hi all,
Here is the error log:
Error on line 46 of document file:/var/lib/tomcat5/webapps/xml/
data/iP4200_DRV_2.xml: The reference to entity "cmp" must end with the
';' delimiter.
org.jdom.input.JDOMParseException: Error on line 46 of document file:/
var/lib/tomcat5/webapps/xml/data/iP4200_DRV_2.xml: The reference to
entity "cmp" must end with the ';' delimiter.
A few items of point:
1. Don't top-post.
2. There is no need to include *all* of the quoted message, just the
relevant bit(s).
According to the XML specification, the character '&' in non-CDATA
sections indicates the start of an entity like or &. Similarly
to the characters ",<, and >, it most be escaped (& => &, < => <
> => >, etc.). I don't know the context, but either enclosing the text
box in a <![CDATA[ ... ]]> block or manually escaping it will fix the
problem.
.
- References:
- XML JDOM problems
- From: weetat
- Re: XML JDOM problems
- From: printdude1968@xxxxxxxxx
- Re: XML JDOM problems
- From: weetat
- XML JDOM problems
- Prev by Date: Re: Help with XML processing using DOM
- Next by Date: Re: Help with XML processing using DOM
- Previous by thread: Re: XML JDOM problems
- Next by thread: Re: XML JDOM problems
- Index(es):