W3C home > Mailing lists > Public > www-svg@w3.org > December 2011

Re: Ignoring trailing semi-colon delimiters

From: Brian Birtles <birtles@gmail.com>
Date: Mon, 05 Dec 2011 09:29:19 +0900
Message-ID: <4EDC105F.5010308@gmail.com>
To: www-svg@w3.org
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 GMT

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