OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Errata in XHTML 1.0

[ Lists Home | Date Index | Thread Index ]
  • From: Taba Miklos <miklos.taba@innovativeideasoy.com>
  • To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
  • Date: Mon, 22 May 2000 10:05:34 +0300

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

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS