W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: Microdata: The Itemref element

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 18 Oct 2009 16:38:04 -0500
Message-ID: <dd0fbad0910181438k7e8ddb35x44e3372a32f36da2@mail.gmail.com>
To: Nicholas Stimpson <nicholas.stimpson@ntlworld.com>
Cc: public-html@w3.org
On Sun, Oct 18, 2009 at 2:18 PM, Nicholas Stimpson
<nicholas.stimpson@ntlworld.com> wrote:
> Or if that's not possible, could an existing empty element be overloaded to
> replace itemref? Both "link" and "param" seem to check out in the live DOM
> viewer as possibles, providing that one encountering them the parser has
> already reached the parsing-the-body mode. Link is already being overloaded
> for the itemprop attribute so extending that with an itemref attribute
> doesn't seem a huge leap. e.g. instead of
>
> <itemref refid="x">
>
> have
>
> <link itemref="x">

This seems promising.  New void elements are *always* going to be a
problem forever in HTML (one of the things XHTML got right, I think),
since there's no way to differentiate them from new non-void elements.
 We can at least avoid it here while maintaining some consistency.

~TJ
Received on Sunday, 18 October 2009 21:38:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:09 UTC