ISSUE-2064 (type or typeof): type or typeof? [Last Call: SVG 1.2 Tiny ]

ISSUE-2064 (type or typeof): type or typeof? [Last Call: SVG 1.2 Tiny ]

http://www.w3.org/Graphics/SVG/WG/track/issues/2064

Raised by: Doug Schepers
On product: Last Call: SVG 1.2 Tiny 

Dr. Olaf Hoffmann
<http://lists.w3.org/Archives/Public/www-svg/2008Sep/0089.html>:
[[
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 
animations.
'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 18:32:59 UTC