[Expat-bugs] [ expat-Bugs-770765 ] why expat-1.95.6 can also NOT parse parameter entity ?

SourceForge.net noreply at sourceforge.net
Tue Jul 15 09:57:10 EDT 2003


Bugs item #770765, was opened at 2003-07-13 22:44
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=770765&group_id=10127

Category: XML::Parser (inactive)
Group: Feature Request
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: why expat-1.95.6 can also NOT parse parameter entity ?

Initial Comment:
Both expat-1.2 and expat-1.95.6 can NOT parse 
parameter entity. Who can tell me what reason is it 
for ? 

Just like the follow sample can NOT pass expat parser:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE aaa [
<!ENTITY % common "id  CDATA #REQUIRED">
<!ELEMENT aaa ANY>
<!ATTLIST aaa %common;>
]>
<aaa id="test"/>


wang.liang at neusoft.com

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

>Comment By: Karl Waclawek (kwaclaw)
Date: 2003-07-15 11:57

Message:
Logged In: YES 
user_id=290026

Closed - not a bug as explained below.

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

Comment By: Brett Kail (bkail)
Date: 2003-07-14 09:29

Message:
Logged In: YES 
user_id=592038

"The external subset and external parameter entities also 
differ from the internal subset in that in them, parameter-
entity references are permitted within markup declarations, 
not only between markup declarations."

Receiving an error for your testcase is required, and 
therefore, it is not a bug.

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

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



More information about the Expat-bugs mailing list