OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] DTD parameter entities

[ Lists Home | Date Index | Thread Index ]


> 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS