W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > May 2012

Re: Test 0218 : empty lists

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Mon, 30 Apr 2012 23:35:35 -0400
To: Alex Milowski <alex@milowski.com>
CC: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <E6D4EFA0-587A-45A3-84FE-C0E65C90E413@greggkellogg.net>
On Apr 30, 2012, at 7:01 PM, Alex Milowski wrote:

> I don't see how you get the triple:
> 
>   <> rdf:value rdf:nil .
> 
> from the content
> 
> <div about="">
>    <p rel="rdf:value" inlist="">
>  </p></div>
> 
> In step 14, of Section "7.5 Sequence", the algorithm has you
> generating blank nodes for each item in the list.  You have nothing in
> your list so you generate no blank nodes.
> 
> Then the last triple is the subject, the full IRI of the local list
> mapping associated with this list, and the first item of your blank
> node array.  Since you have no items, there is nothing to map.  Step
> 14 says nothing about using rdf:nil it that situation.
> 
> That said, using rdf:nil would make sense.  To do so, the object should say:
> 
>   "first item of the ‘bnode’ array or, if that does not exist,
> http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"

This is implied in the previous step where it says "next item in the ‘bnode’ array or, if that does not exist, http://www.w3.org/1999/02/22-rdf-syntax-ns#nil". You're right that it's not spelled out explicitly.

Gregg

> -- 
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
> 
> Bertrand Russell in a footnote of Principles of Mathematics
> 
Received on Tuesday, 1 May 2012 03:36:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 May 2012 03:36:19 GMT