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

[1.2T-LC] type or typeof?

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Sun, 21 Sep 2008 16:58:36 +0200
To: www-svg@w3.org
Message-Id: <200809211658.36368.Dr.O.Hoffmann@gmx.de>

Hello SVG WG,

elements like image, audio, video have a 'type' attribute.
This attribute is not animatable and as far as I understand
the data type <content-type> it can only represent one
type. Because xlink:href of those elements is animatable,
the content type can be time dependent. 
'type' does not care about this problem and if authors want 
to give a hint, this is not possible with 'type' for those 
'typeof' (5.10.1) can both contain more than one type and is 
animatable, therefore this solves the problem, but then the 
'type' is redundant and could be skipped.
If 'typeof' is intended for something different
(for example in some programming languages there
is a typeof operator available with another meaning, the
word 'datatype' may indicate something like this, but
a content type still may be a specific data type, therefore
this usage seems not to be excluded), then the problem of 
type and animation remains and it is not obvious, what the 
purpose of 'typeof' could be - the 'type' problem needs to 
be solved and 'typeof' needs a better description about the 
purpose of this attribute to avoid confusion with 'type'. 
Received on Sunday, 21 September 2008 16:10:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:15 UTC