W3C home > Mailing lists > Public > public-html-diffs@w3.org > July 2011

microdata; hixie: Work around a limitation of Turtle syntax. (whatwg r6280)

From: poot <cvsmail@w3.org>
Date: Thu, 07 Jul 2011 19:04:13 -0400
To: public-html-diffs@w3.org
Message-Id: <E1QexcD-0006B5-Kh@jay.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: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; .
-@prefix dct: &lt;http://purl.org/dc/terms/&gt; .
-@prefix hcard: &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:&gt; .
-
-&lt;&gt; &lt;http://www.w3.org/1999/xhtml/microdata#item&gt; _:n0 ;
+   <pre class="turtle">&lt;&gt; &lt;http://www.w3.org/1999/xhtml/microdata#item&gt; _:n0 ;
    &lt;http://www.w3.org/1999/xhtml/microdata#item&gt; _:n1 .
-_:n0  rdf:type &lt;http://microformats.org/profile/hcard&gt; ;
-      hcard:fn "Princeton" ;
-      hcard:n _:n0a
-      hcard:adr _:n2 .
-_:n0a hcard:n%20given-name "Princeton" .
-_:n1  rdf:type &lt;http://microformats.org/profile/hcard&gt; ;
-      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  &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://microformats.org/profile/hcard&gt; ;
+      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:fn&gt; "Princeton" ;
+      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n&gt; _:n0a
+      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr&gt; _:n2 .
+_:n0a &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n%20given-name&gt; "Princeton" .
+_:n1  &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://microformats.org/profile/hcard&gt; ;
+      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:fn&gt; "Trekkie" ;
+      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n&gt; _:n1a
+      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr&gt; _:n2 .
+_:n1a &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n%20given-name&gt; "Trekkie" .
+_:n2  &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr%20street-address&gt; "Avenue Q" ;
+      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr%20street-address&gt; "Avenue Q" .</pre>
 
   </div>
Received on Thursday, 7 July 2011 23:04:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 7 July 2011 23:04:16 GMT