Re: Ignoring trailing semi-colon delimiters

Hi Olaf,

(2011/12/01 20:38), Dr. Olaf Hoffmann wrote:
> Well, for begin, according to SMIL, an empty value has to be
> treated as event value.

I'm a bit surprised at this but maybe I'm looking at the wrong version 
of the spec. According to SMIL 3.0 Event-values must include an 
Event-symbol (Nmtoken) which is non-zero in length.[1] Perhaps I've 
misunderstood?

 > Therefore the correct behaviour for a trailing semicolon
 > or other stupid structures like ";;" is to see no effect for most 
attributes,
 > what is a pretty good indication for the author to fix the bug
 > before publication ;o)

This is generally what Firefox has been doing. However, there seems to 
be a general view that this behaviour is too strict[2], hence it was 
softened somewhat in SVG Tiny 1.2[3].

I appreciate your point about the value of being strict and I tend to 
agree. However, I think it only works if all (or at least most) vendors 
are equally strict and for this particular situation, that doesn't 
appear to be the case. Any other vendors care to comment?

Thanks,

Brian

[1] http://www.w3.org/TR/SMIL/smil-timing.html#TimingSyntax-Event-value
[2] e.g. see http://lists.w3.org/Archives/Public/www-svg/2010Sep/0114.html
[3] http://www.w3.org/TR/SVGTiny12/animate.html#KeyTimesAttribute

Received on Monday, 5 December 2011 00:29:51 UTC