W3C home > Mailing lists > Public > public-vocabs@w3.org > September 2014

Re: ItemList proposal

From: Peter Mika <pmika@yahoo-inc.com>
Date: Fri, 12 Sep 2014 14:07:58 +0000
To: Vicki Tardif Holland <vtardif@google.com>
CC: "Jason Johnson (BING)" <jasjoh@microsoft.com>, PublicVocabs <public-vocabs@w3.org>
Message-ID: <D038CA3D.64728%pmika@yahoo-inc.com>
Hi Vicky,

-- itemListElement currently has the range Thing or ListItem or Text, which is triple redundant ;) First, we always accept Text instead of Thing, and ListItem is a type of Thing. So the range is essentially Thing?

Yes. We were looking for a way to signal that there is a new class ListItem, which allows authors to express more than the item. Perhaps this is a suggestion we need better documentation.

I see... better documentation could solve this indeed.

-- previousItem/nextItem has range ListItem. How do I capture the end of list? Is there a distinguished  NULL value?

I was imagining it working like a linked list. If a ListItem has no nextItem, it is the end of the list.

I think it's useful to have a way to explicitly indicate the end of the list. Information on the Web may be lost or corrupted in all kinds of ways, so we can't always rely on the fact that missing information is significative.

Cheers,
Peter
Received on Friday, 12 September 2014 14:09:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:44 UTC