W3C home > Mailing lists > Public > www-html@w3.org > January 2000

Re: Error in strict DTD?

From: Arjun Ray <aray@q2.net>
Date: Mon, 31 Jan 2000 15:58:59 -0500 (EST)
To: www-html@w3.org
Message-ID: <Pine.LNX.4.10.10001311554050.15214-100000@mail.q2.net>


On Mon, 31 Jan 2000, Murray Altheim wrote:

> The [XML] specification states that the values of xml:space must be
> either "default" or "preserve". 

> What XHTML does is this:
> 
>     <!ATTLIST pre   xml:space (preserve)  #FIXED 'preserve'>
> 
> We are declaring xml:space as an enumerated type with one of the
> allowed values. This sets the value of xml:space to 'preserve' and
> doesn't allow any other value. 

Well, given the OP's complaint, it might have been better to declare

    <!ATTLIST pre   
              xml:space (default|preserve)  #FIXED 'preserve'>
 
(Sounds like this will tickle bugs in XML parsers too, though...)


Arjun
Received on Monday, 31 January 2000 15:46:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:41 GMT