Re: XML Validity and DTD dependance

Richard Tobin <richard@inf.ed.ac.uk> writes:


> <!ENTITY % p "xhtml:">
> <!ENTITY % s ":xhtml">
>
> <!ENTITY % nsdecl "xmlns%s;">
>
> <!ENTITY % html "%p;html">
> <!ATTLIST %html; %nsdecl; CDATA #FIXED "http://blah/blah">

It's worth getting on the record that this hack was 'discovered'
independently by Dan Connolly and myself sometime around 1999.

ht
-- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]

Received on Wednesday, 20 April 2005 15:27:18 UTC