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