W3C home > Mailing lists > Public > www-svg@w3.org > October 2007

Re: @role in SVG

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Thu, 4 Oct 2007 14:12:19 +0200
To: www-svg@w3.org
Message-Id: <200710041412.19064.Dr.O.Hoffmann@gmx.de>

Currently I cannot see a big advantage in the role 
draft compared to class.
A simple attribute cannot really cover the lack
of semantics, even if a few values are predefined.
It would require a huge list of predefined values for
(X)HTML and several additional values for
graphics as SVG (for example the (X)HTML elements
as values, useful for the textArea element).
But of course, if the communities really start
to collect useful values to put it into a recommendation, 
this may work (and there is not much to do for 
implementors in a first approach as maybe to display 
the role values similar to the values of the title attribute
in (X)HTML, maybe only on demand from the user).

What I currently learned, trying to mark up 
classical and modern poems either with XHTML1.1
(or HTML5) or with SVG, that there is surprisingly 
almost no semantic advantage in using (X)HTML
compared with SVG, because (X)HTML has no 
semantics for poems, SVG does not have either, 
but both have a class attribute ;o)

This can only be improved with a role attribute,
having many predefined values, leaving class 
with only meaningless values ...
Received on Thursday, 4 October 2007 12:17:29 UTC

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