XHTML 2 WD: Embedding Attribute Collection Comments

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 UTC