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

Test 0218 : empty lists

From: Alex Milowski <alex@milowski.com>
Date: Mon, 30 Apr 2012 19:01:39 -0700
Message-ID: <CABp3FNKZ6KhWNPuiTQ7VJHhrpx5YxwLqu8o2rwvd5jEaWFb+3w@mail.gmail.com>
To: W3C RDFWA WG <public-rdfa-wg@w3.org>
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"

-- 
--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 02:02:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 May 2012 02:02:09 GMT