W3C home > Mailing lists > Public > www-archive@w3.org > February 2006

Re: whitespace normalization (was: Re: SVGT 1.2: A proposal for how to define SVG whitespace in terms of CSS whitespace)

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 01 Feb 2006 14:39:57 +0100
To: Anne van Kesteren <fora@annevankesteren.nl>
Cc: www-archive@w3.org
Message-ID: <fce1u1la1mmdilvks3u6rt3npl7r303ehc@hive.bjoern.hoehrmann.de>

* Anne van Kesteren wrote:
>Quoting Bjoern Hoehrmann <derhoermi@gmx.net>:
>>> So if a tool wants to mess with your whitespace, it simply cannot
>>> avoid the possibility that it will break some documents.
>>
>> Well, I'd say that's why the XML gods gave us xml:space...
>
>Too bad these gods messed with attribute value whitespace handling:
><http://www.w3.org/TR/2004/REC-xml-20040204/#AVNormalize>

How so? If you want to have your white space preserved, use character
references and CDATA. What they really messed up there is the crazy moon
language in "It is an error if an attribute value contains a reference
to an entity for which no declaration has been read" which does not make
much sense to say the least.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Wednesday, 1 February 2006 13:39:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:54 GMT