|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@i...
Innovative Ideas Oy, Helsinki
***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








