- From: Gregg Kellogg <gregg@kellogg-assoc.com>
- Date: Tue, 10 Nov 2009 20:59:02 -0500
- To: RDFa Community <public-rdfa@w3.org>
Received on Wednesday, 11 November 2009 02:01:07 UTC
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"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <body> <ol about="http://example.com/9997.xhtml"> <li property="rdf:li">This is first</li> <li property="rdf:li">This is second</li> </ol> </body> </html> 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" . Gregg
Received on Wednesday, 11 November 2009 02:01:07 UTC