Re: Error in strict DTD?

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 UTC