Animation in SVG 1.1

Hi.

SMIL Animation states[1]:

  It is recommended that language specifications disallow manipulation
  of animation element attributes through DOM interfaces after the
  document has begun.

  [...]

  Dynamically changing the attribute values of animation elements
  introduces semantic complications to the model that are not yet
  sufficiently resolved. This constraint may be lifted in a future
  version of SMIL Animation.

but in SVG 1.1[2]:

  Unlike other SVG DOM interfaces, the SVG DOM does not specify
  convenience DOM properties corresponding to the various language
  attributes on SVG's animation elements.  [...] The current method for
  accessing and modifying the attributes on the animation elements is
  to use the standard getAttribute, setAttribute, getAttributeNS and
  setAttributeNS defined in DOM2.

which seems to imply that modifying the animation related attributes on
SVG animation elements is supported.  Is this the case?  If so, have the
"semantic complications" been resolved?  SMIL 2.0 (which I realise isn't
referenced by SVG 1.1, but at least might give an indication of what is
the right thing to do) still leaves it as undefined[3].

Also, in case an errata document is ever produced(!), there is a slight
error in http://www.w3.org/TR/SVG11/animate.html#InterfaceTimeEvent
where the text "defined in SMIL Animation: Supported interfaces" is
repeated.

Thanks,

Cameron

[1] http://www.w3.org/TR/smil-animation/#Integrating-ConstraintsOnAttributes
[2] http://www.w3.org/TR/SVG11/animate.html#InterfaceSVGAnimationElement
[3] http://www.w3.org/TR/2005/REC-SMIL2-20050107/smil-timing.html#Timing-DOMAttributes

-- 
  e-mail : cam (at) mcc.id.au    	icq : 26955922
     web : http://mcc.id.au/	        msn : cam-msn (at) aka.mcc.id.au
  office : +61399055779		     jabber : heycam (at) jabber.org

Received on Wednesday, 9 November 2005 04:49:52 UTC