[ expat-Bugs-432762 ] illegal parameter entity reference

noreply@sourceforge.net noreply@sourceforge.net
Fri, 15 Jun 2001 10:23:47 -0700


Bugs item #432762, was updated on 2001-06-13 06:56
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=432762&group_id=10127

Category: XML::Parser
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Harm (mharm)
Assigned to: Clark Cooper (coopercc)
Summary: illegal parameter entity reference

Initial Comment:
Hi folks,
this is the error msg from the example prog outline
when feeded with the following xml-file:

<?xml version="1.0"  encoding="ISO-8859-1"?>
<!DOCTYPE title [
  <!ENTITY % inline "(#PCDATA|em|b|a|img|br)*">
  <!ELEMENT title (%inline;) >    <!-- error !! -->
  
]>
<title>Oha</title>

->
Parse error at line 4:
illegal parameter entity reference

Why ?? 

(I'm using expat.1.95.1 on Linux)





----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-06-15 10:23

Message:
Logged In: NO 


expat is right. Your example document isn't wellformed XML.

See xml recommendation 2.8: Well-Formedness Constraint: PEs
in Internal Subset


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=432762&group_id=10127