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

[1.2T LC]: accessing rules for traitAccess

From: Julien Reichel <Julien.Reichel@spinetix.com>
Date: Mon, 6 Oct 2008 11:44:38 +0200
Message-ID: <364D31930BDB974AB40E22C5C2E584ED1E69A1@asterix.SPINETIX.local>
To: <www-svg@w3.org>
Hi,


In "Accessing rules for animation related elements" in the additional
accessing rules for the trait access, it is specified that "[SMIL
animation elements] cannot be modified using the TraitAccess methods
once inserted into the tree". This means for instance that the "href"
cannot be modified. I suppose that the purpose of this rule is to
simplify the design of UA. However there are no rules that forbid to
modify the xml:id of an element already inserted in the tree ( or did I
miss it? ). 


Thus it is possible to modify the target of an animation by switching
the xml:id of two elements (which is equivalent to a change of the href
in the animation). So IMO this restriction  is insufficient to enable
simplification of the UA design.  Note that modifying the xml:id of
other even in the tree can also be used to modify the behavior of other
attribute (like a begin="id1.begin" for instance)


My question:


- Why have such as restriction for the trait access (as there are other
ways, not forbidden, to trigger the same effect) ?


Julien


 

[1]
http://www.w3.org/TR/2008/WD-SVGMobile12-20080915/svgudom.html#additiona
lRules

-------------------------------------------------------------

Julien Reichel, PhD

Technology Architect, SpinetiX S.A.

Rue des Terraux 17, CH-1003, Lausanne, Switzerland

 

Tel:     +41 (0) 021 341 15 50

Mail:   julien.reichel@spinetix.com

Get Information : http://www.spinetix.com <http://www.spinetix.com/> 

-------------------------------------------------------------

 
Received on Monday, 6 October 2008 09:45:15 GMT

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