W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2011

[whatwg] multiple itemtypes in microdata?

From: John Giannandrea <jgiann@google.com>
Date: Sun, 26 Jun 2011 22:53:53 -0700
Message-ID: <BANLkTin8tkq9AFu47oyvD=FDc27T2TGKog@mail.gmail.com>
In the user feedback from the schema.org proposal, which uses microdata as
its syntax, we have seen several use cases that would seem to require
multiple itemtypes per itemscope.

Currently the microdata spec only allows one itemtype which defines the
meaning of the vocabulary for subsequent itemprops.

Allowing an arbitrary list of itemtypes would not be desirable because then
a user agent would have to have knowledge of the type vocabularies in order
to parse the page.

We suggest that itemtype be changed to allow multiple space separated types
(just like itemprop), but only if the origin domain of the types is the
same.  This would allow a vocabulary provider to allow multiple types and to
take responsibility for what the property vocabulary definition is in the
context of more than one type.

-jg
Received on Sunday, 26 June 2011 22:53:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:06 UTC