W3C home > Mailing lists > Public > public-rdfa@w3.org > November 2009

list-expansion in RDFa

From: Gregg Kellogg <gregg@kellogg-assoc.com>
Date: Tue, 10 Nov 2009 20:59:02 -0500
To: RDFa Community <public-rdfa@w3.org>
Message-ID: <B061CADA-AFB2-48DB-8D99-5117F58BE983@kellogg-assoc.com>
I notice that RDFa does not define rdf:li list expansion as in RDF/XML. In RDF/XML, according to http://www.w3.org/TR/rdf-syntax-grammar/#section-Syntax-list-elements, rdf:li is expanded to rdf:_1, rdf:_2 and so forth during expansion. I could not find anything similar in RDFa, but it seems like a reasonable operation.

An example test case could be the following:

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <ol about="http://example.com/9997.xhtml">
      <li property="rdf:li">This is first</li>
      <li property="rdf:li">This is second</li>

With expected results:

<http://example.com/9997.xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> "This is first" . <http://example.com/9997.xhtml> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> "This is second" .

Received on Wednesday, 11 November 2009 02:01:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:04 UTC