[ expat-Bugs-432762 ] illegal parameter entity reference
noreply@sourceforge.net
noreply@sourceforge.net
Mon Apr 15 20:49:02 2002
Bugs item #432762, was opened at 2001-06-13 09:56
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=432762&group_id=10127
Category: XML::Parser (Perl module)
>Group: Not a Bug
>Status: Closed
>Resolution: Invalid
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: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-15 23:47
Message:
Logged In: YES
user_id=3066
The previous comment is right. XML is much stricter about
PEs than SGML. Closing this report.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-06-15 13: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