W3C home > Mailing lists > Public > www-html@w3.org > May 2003

XHTML 2 WD: Embedding Attribute Collection Comments

From: Tom McDonnell <qirexrd@hotmail.com>
Date: Thu, 29 May 2003 21:51:13 +0930
To: www-html@w3.org
Message-ID: <Law9-F114pGwC6RZT2600001ea6@hotmail.com>

Having reviewed the latest Working Draft, I felt I must comment on the 
Embedding Attribute Collection.

I don't see any need for the collection, the <object> element already 
provides this functionality. Take the first example in the working draft:

<p src="holiday.png" type="image/png">
    <span src="holiday.gif" type="image/gif">
        An image of us on holiday.
    </span>
</p>

Shouldn't this be done:

<object data="holiday.png" type="image/png">
  <object data="holiday.gif" type="image/gif">
    <p>An image of us on holiday</p>
  </object>
</object>

Ditto can be applied to the table example.

I really feel the working drafts example is misuse of <p> element; the 
collection is blurring the lines of the purpose of elements. The generic 
<object> element was designed encapsulate fallback logic, so I cannot 
understand why this new attribute collection has been introduced to serve 
the same purpose. I suggest it be dropped.

Tom McDonnell

_________________________________________________________________
ninemsn Extra Storage is now available. No account expiration - no need to 
worry about losing your Hotmail account. Go to  
http://join.msn.com/?page=dept/home&pgmarket=en-au
Received on Thursday, 29 May 2003 08:26:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT