OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Error parsing &

[ Lists Home | Date Index | Thread Index ]

> I am receiving the below error when parsing & 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: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS