- From: poot <cvsmail@w3.org>
- Date: Thu, 07 Jul 2011 19:04:13 -0400
- To: public-html-diffs@w3.org
microdata; hixie: Work around a limitation of Turtle syntax. (whatwg r6280) http://dev.w3.org/cvsweb/html5/md/Overview.html?r1=1.140&r2=1.141&f=h http://html5.org/tools/web-apps-tracker?from=6279&to=6280 =================================================================== RCS file: /sources/public/html5/md/Overview.html,v retrieving revision 1.140 retrieving revision 1.141 diff -u -d -r1.140 -r1.141 --- Overview.html 7 Jul 2011 22:59:58 -0000 1.140 +++ Overview.html 7 Jul 2011 23:03:50 -0000 1.141 @@ -1961,24 +1961,20 @@ triple that in this case is expressed twice, though that is not meaningful in RDF):</p> - <pre class="turtle">@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . -@prefix dct: <http://purl.org/dc/terms/> . -@prefix hcard: <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:> . - -<> <http://www.w3.org/1999/xhtml/microdata#item> _:n0 ; + <pre class="turtle"><> <http://www.w3.org/1999/xhtml/microdata#item> _:n0 ; <http://www.w3.org/1999/xhtml/microdata#item> _:n1 . -_:n0 rdf:type <http://microformats.org/profile/hcard> ; - hcard:fn "Princeton" ; - hcard:n _:n0a - hcard:adr _:n2 . -_:n0a hcard:n%20given-name "Princeton" . -_:n1 rdf:type <http://microformats.org/profile/hcard> ; - hcard:fn "Trekkie" ; - hcard:n _:n1a - hcard:adr _:n2 . -_:n1a hcard:n%20given-name "Trekkie" . -_:n2 hcard:adr%20street-address "Avenue Q" ; - hcard:adr%20street-address "Avenue Q" .</pre> +_:n0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://microformats.org/profile/hcard> ; + <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:fn> "Princeton" ; + <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n> _:n0a + <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr> _:n2 . +_:n0a <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n%20given-name> "Princeton" . +_:n1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://microformats.org/profile/hcard> ; + <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:fn> "Trekkie" ; + <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n> _:n1a + <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr> _:n2 . +_:n1a <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n%20given-name> "Trekkie" . +_:n2 <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr%20street-address> "Avenue Q" ; + <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr%20street-address> "Avenue Q" .</pre> </div>
Received on Thursday, 7 July 2011 23:04:15 UTC