W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2000

Re: Errata in XHTML 1.0

From: Taba Miklos <miklos.taba@innovativeideasoy.com>
Date: Mon, 22 May 2000 10:05:34 +0300
Message-ID: <3928DC3E.44A8B1BB@innovativeideasoy.com>
To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
CC: www-html-editor@w3.org, xerces-j-dev@xml.apache.org, xml-dev@xml.org
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 (&#x000C;) 
         Zero-width space (&#x200B;)

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 GMT

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