Re: [SVGMobile12] A.2.8 Text Node Access

Hi,
These are good suggestions and we have changed the spec as you suggest.
The 'tspan' paragraph you refer to is changed to:
"The result of getting and setting text content via the #text mechanism
is exactly the same as when using the textContent attribute. Therefore
the user should be aware of the fact that styling by child 'tspan'
elements (i.e. 'tspan' elements that are children of the element which
text content is retrieved) will be lost if a text string is retrieved
from an element and then set back again."
Thanks for your thorough review, please let us know shortly if this does
not address your concerns.
/The SVG WG

---
From: Jonathan Watt <jwatt@jwatt.org> 
Date: Tue, 24 Jan 2006 17:55:20 +0000
Message-ID: <43D66A08.2050804@jwatt.org> 
To: www-svg@w3.org 

Dear SVG WG,

http://www.w3.org/TR/SVGMobile12/svgudom.html#Text_Node_Access section
A.2.8
uses the phrase "text node" both in the section title and in it's
contents.
However, http://www.w3.org/TR/SVGMobile12/svgudom.html#dom::Node section
A.3.2
states that:

   Node types that must be supported in the uDOM are Element nodes
   and Document nodes.

There is no requirement to support Text nodes so please keep the Tiny
spec free
of references to "text node", "Text node", "Text Node" or whatever else
to avoid
confusion. Instead use "an element's textual content" or some other
suitable
phrase. I suggest changing section A.2.8 to start with something along
the lines of:

   A.2.8 Text Content Access

   In the SVG uDOM, there are two alternative ways to access an
element's
   textual content. A special means of text access via the TraitAccess
   interface is available...

Also note a few paragraphs further down contains the text:

   Therefore the user should be aware of the fact that styling
   by 'tspan' elements will be lost if she gets a text string
   from the model and sets it back again.

Please make this clear that the text is referring to using the model on
the
'tspan' element's parent.

Regards,
Jonathan

Received on Monday, 13 March 2006 13:54:50 UTC