← Prev in month ← Prev in thread

Re: [xml-dev] DTD parameter entities

From
Karl Waclawek <>
To
, Toni Uusitalo <>
Date
2004-04-21T19:52:14Z
ID
<007601c427da$24cb17e0$9e539696@citkwaclaww2k>
Thread
Re: [xml-dev] DTD parameter entities
> I used the following petest.dtd for testing how various parsers work:
> (PE references %ELEMNAME;%ATTNAME; are contiguous on purpose - there'll be 
> space
> between them when they're expanded)
> 
> <!ENTITY % ATTLIST "<!ATTLIST ">
> <!ENTITY % CLOSE ">">
> <!ENTITY % ELEMNAME "doc">
> <!ENTITY % ATTNAME "att">
> %ATTLIST; %ELEMNAME;%ATTNAME; CDATA #FIXED "value"%CLOSE;
> 
> the petest.xml doc was simple:
> <!DOCTYPE doc SYSTEM "petest.dtd">
> <doc/>
> 
> results (validation was off):
> - RXP 1.4.0pre10: ok
> - Expat 1.9.6: ok

Could you test with current CVS of Expat? I think this one is fixed.
It should report a syntax error now.
Overall, Expat fails only on a handful of test cases in the XML test suite.

Karl
← Prev in month ← Prev in thread