#264 why expat-1.95.6 can also NOT parse parameter entity ?

Feature Request
closed-rejected
nobody
5
2003-07-15
2003-07-14
Anonymous
No

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@neusoft.com

Discussion

  • Brett Kail

    Brett Kail - 2003-07-14

    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.

     
  • Karl Waclawek

    Karl Waclawek - 2003-07-15

    Logged In: YES
    user_id=290026

    Closed - not a bug as explained below.

     
  • Karl Waclawek

    Karl Waclawek - 2003-07-15
    • status: open --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks