Next in thread → Next in month →

RE: [xml-dev] Error parsing &

From
Michael Kay <>
To
"'Long, Craig Z'" <>,
Date
2003-02-12T22:55:15
ID
<000b01c2d2e9$cecd5010$6401a8c0@pcukmka>
Thread
RE: [xml-dev] Error parsing &amp;
> I am receiving the below error when parsing &amp; within an 
> element.  It was my belief that escaping the '&' would not 
> pose this type of problem.  I haven't found an unambiguous 
> explanation on the W3C site -- please expound on this. See 
> element fragment below.
> 
> 
> <Remarks>Hlth Ins &amp; Bks</Remarks> 
> 
> SEVERE: **Parsing Fatal Error**
>   Line     : 53
>   URI      : null
>   Message  : The reference to entity "Bks" must end with the 
> ';' delimiter.
> org.xml.sax.SAXParseException: The reference to entity "Bks" 
> must end with the ';' delimiter.
> 

You are receiving this error when parsing the source &Bks with no
following semicolon. I don't know why the source that's being parsed
isn't the source that you think is being parsed - one would need to know
more about your application to discover that.

Michael Kay
Software AG
home: 
work: 
Next in thread → Next in month →