W3C home > Mailing lists > Public > www-svg@w3.org > April 2008

SVGT 1.2 Tests: xml:space="preserve" in test text-align-201-t

From: Kalle Raita <kraita@nvidia.com>
Date: Thu, 17 Apr 2008 16:50:11 +0200
Message-ID: <85DD8D3F1695004A8A9A5AC16CE584BE06962AAB@deemmail01.nvidia.com>
To: <www-svg@w3.org>

Hi All,
 
This issue might have similar solution as the line-increment 
for <tspan>, but here goes...
 
In test text-align-201-t <tspan> element is given attribute 
xml:space="preserve". Whether this should be respected or not
is not absolutely clear. 

Firstly, SVGT1.2 specification states that "SVG supports the 
standard XML attribute 'xml:space' to specify the handling of 
white space characters within a given text content block element's 
character data", and in 
<URL:http://www.w3.org/TR/SVGMobile12/intro.html#TermTextContentBlockEle
ment> 
the term "text content block element" is explicitly defined to 
include only <text> and <textArea>. On the other hand, the 
"xml:space" attribute is listed in the attribute table 
<URL:http://www.w3.org/TR/SVGMobile12/attributeTable.html#attribute_xml_
_space> 
for <tspan> and <tbreak> as well, indicating the (reasonable)
assumption that it should be possible to control whitespace
handling in all SVG's text elements.

Has this been already fixed in specification version that is
under development?

Yours,
  - Kalle Raita
 

Kalle Raita 
NVIDIA Corporation 
Tel. +358 40 723 1441 
kraita@nvidia.com 
http://eu.nvidia.com <http://eu.nvidia.com/>  

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
Received on Thursday, 17 April 2008 14:52:11 GMT

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