[XHTML2] type attribute

There is currently a clash over the two uses of the type attribute. For 
example, if <span src="alpha" href="beta" type="image/*" /> was in a 
XHTML2 document, would "image/*" the type of the src URI, the href URI 
or both? The ambiguity could be resolved by using two seperate nested 
elements, but that would be wasteful.  Also, there is currently no 
mechanism for specifying the media type of the cite attribute. May I 
suggest that instead of a generic type attibute, that there be 
attributes of the form srctype, hreftype and citetype and that if 
additional attributes with a URI for their argument are definined that 
each have an associated type attribute whose name is the name of the 
base attribute + "type"?

Received on Friday, 4 April 2003 12:54:17 UTC