ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
RE: [xml-dev] Error parsing &
by Michael Kay other posts by this author
Feb 12 2003 10:55PM messages near this date
[xml-dev] Error parsing & | [xml-dev] utf8 -> utf16 conversion problem ?
>  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@[...].com
work: Michael.Kay@[...].com 


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
Long, Craig Z
Michael Kay

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved