W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 31 Jan 2006 08:33:03 +0100
To: Maciej Stachowiak <mjs@apple.com>
Cc: www-svg@w3.org, www-style@w3.org
Message-ID: <ih4ut11v5tr7olpm2r63e7en205uo91pka@hive.bjoern.hoehrmann.de>

* Maciej Stachowiak wrote:
>If the mapping is there, this would be up to authors, which is fine  
>by me. Although if "xml:space" has effects on text rendering that  
>differ per language, using it in a CDF context would be extremely  
>tricky.

Note that default behavior without any xml:space attributes is
already inconsistent, I'm not sure xml:space adds much to that.

>You can't correctly mess with the text in HTML at all unless you  
>implement CSS and how how HTML presentational attributes are mapped.  
>And even if you can figure out the current whitespace mode, the  
>author may later use a different stylesheet, or may change the white- 
>space mode via script, or may transform the document via XSLT.
>
>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...
-- 
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 Tuesday, 31 January 2006 07:39:04 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:33 GMT