Re: Errata in XHTML 1.0

Elliotte Rusty Harold wrote:
> 
> The ATTLIST declaration of xml:space given several times in the XHTML
> 1.0 strict DTD may be incorrect. XHTML 1.0 consistently declares it as
> 
>   xml:space   (preserve)     #FIXED 'preserve'
> 
...
> 
> However, section 2.10 of the XML 1.0 spec disallows this:
> 
>  When declared, it must be given as an enumerated type whose only
> possible values are "default" and "preserve". For example:
...

Yes, exactly.

Yet another thought:

XHTML 1.0 states in section 3.2:
The XHTML user agent in addition, must treat the following characters as
whitespace: 

         Form feed () 
         Zero-width space (​)

However, the form feed character is not valid XML character.
See section 2.2 of the XML 1.0 spec
[2] Char ::=  #x9 | #xA | #xD | [#x20-#xD7FF]
              | [#xE000-#xFFFD]
              | [#x10000-#x10FFFF]

so, it seems rather an error than white space.

regards
Miklos Taba
-- 
miklos.taba@innovativeideasoy.com
Innovative Ideas Oy, Helsinki

Received on Monday, 22 May 2000 03:02:54 UTC