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

* 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 UTC