Re: About "d" attribute

With declarative animation one can have a values list in 
SVG tiny 1.2 and 1.1.2 for the d attribute with different 
numbers of path segments to get a discrete animation.
If an author sometimes needs no path as one value -
why not? If this results in no display, there is no need 
for an additional synchonised animation of another
property or attribute to get the intended effect.

Obviously one can use the use element with
a declarative animation of the reference to different
(path) elements - there is often more than one way
to get the intended effect - this is no reason to panic,
just an indication for many options to get similar effects 
in an advanced language.
If you don't need empty d elements, simply do not
use them ;o)

In SVG 1.1.2 and SVG tiny 1.2 there can be seen
several efforts to avoid error messages, replacing them sometimes
with 'disables rendering', sometimes with other meaningful
behaviour, representing effectively a new feature - do you think, 
it is more useful to have an error message for such obvious 
things instead of the a display of the document? 
Of course, for some errors a message is more useful,
but if the defined behaviour just describes, what one can
expect, as here to render nothing, if d is empty, why not?
Indeed there are already a few cases, where 
superfluous 'disables rendering' definitions prevent 
meaninful use cases, but here I cannot see an advantage 
in an error message or a more useful behaviour in case
of an empty d.

Olaf 

Received on Friday, 11 May 2012 15:50:42 UTC