Get examples to validate, per http://lists.w3.org/Archives/Public/public-ldp-wg/2013Aug/0002.html and messages that came up once those noted were fixed.
authorJohn Arwe
Mon, 26 Aug 2013 08:54:22 -0400
changeset 309 ea3cce737943
parent 307 bf963adf1521
child 310 c40de6295f9b
Get examples to validate, per http://lists.w3.org/Archives/Public/public-ldp-wg/2013Aug/0002.html and messages that came up once those noted were fixed.
ldp.html
--- a/ldp.html	Mon Aug 26 10:59:14 2013 +0200
+++ b/ldp.html	Mon Aug 26 08:54:22 2013 -0400
@@ -947,13 +947,15 @@
 
 <pre class="example"># The following is the representation of
 #    http://example.org/container1/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base &lt;http://example.org/container1/&gt;
 @prefix dcterms: &lt;http://purl.org/dc/terms/&gt;.
 @prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt;.
 @prefix ldp: &lt;http://www.w3.org/ns/ldp#&gt;.
 
 &lt;&gt;
    a ldp:Container;
-   ldp:membershipSubject &lt;&gt;
+   ldp:membershipSubject &lt;&gt; ;
    ldp:membershipPredicate rdfs:member;
    ldp:membershipObject ldp:MemberSubject;
    dcterms:title "A very simple container";
@@ -972,6 +974,8 @@
 			
 <pre class="example" id="ldpc-ex-membership-partial"># The following is a partial representation of
 #   http://example.org/netWorth/nw1
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base &lt;http://example.org/netWorth/nw1/&gt;
 @prefix ldp: &lt;http://www.w3.org/ns/ldp#&gt;.
 @prefix o: &lt;http://example.org/ontology/&gt;.
 &lt;&gt;
@@ -995,6 +999,8 @@
 
 <pre class="example" id="ldpc-ex-membership-full"># The following is an elaborated representation of
 #   http://example.org/netWorth/nw1/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base &lt;http://example.org/netWorth/nw1/&gt;
 @prefix ldp: &lt;http://www.w3.org/ns/ldp#&gt;.
 @prefix dcterms: &lt;http://purl.org/dc/terms/&gt;.
 @prefix o: &lt;http://example.org/ontology/&gt;.
@@ -1042,6 +1048,8 @@
 
 <pre class="example" id="ldpc-ex-membership-subj"># The following is the representation of
 #   http://example.org/netWorth/nw1/assetContainer/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base &lt;http://example.org/netWorth/nw1/assetContainer/&gt;
 @prefix ldp: &lt;http://www.w3.org/ns/ldp#&gt;.
 @prefix o: &lt;http://example.org/ontology/&gt;.
 
@@ -1079,6 +1087,8 @@
 
 <pre class="example"># The following is the representation of
 #	 http://example.org/netWorth/nw1/assetContainer/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base &lt;http://example.org/netWorth/nw1/assetContainer/&gt;
 @prefix dcterms: &lt;http://purl.org/dc/terms/&gt;.
 @prefix ldp:      &lt;http://www.w3.org/ns/ldp#&gt;.
 @prefix o:       &lt;http://example.org/ontology/&gt;.
@@ -1096,13 +1106,13 @@
 
 &lt;a1&gt;
    a o:Stock;
-   o:value 10000.
+   o:value 10000 .
 &lt;a2&gt;
    a o:Bond;
-   o:value 20000.
+   o:value 20000 .
 &lt;a3&gt;
    a o:RealEstateHolding;
-   o:value 300000.</pre>
+   o:value 300000 .</pre>
 	<p>In a similar manner, when the representation for the resource of asset <var>.../&lt;a1&gt;</var> is returned a 
 	server may include the membership triple of the form <var>(.../nw1, o:asset, .../a1).</var></p>
 
@@ -1146,7 +1156,7 @@
 &lt;http://example.org/container1/&gt;
    a ldp:Container;
    dcterms:title "A Linked Data Platform Container of Acme Resources";
-   ldp:membershipSubject http://example.org/container1/;
+   ldp:membershipSubject &lt;http://example.org/container1/&gt;;
    ldp:membershipPredicate rdfs:member;
    ldp:membershipObject ldp:MemberSubject;
    dcterms:publisher &lt;http://acme.com/&gt;.</pre>
@@ -1191,6 +1201,8 @@
 		previously, with representation for ordering of the assets:</p>
 <pre class="example"># The following is the ordered representation of
 #   http://example.org/netWorth/nw1/assetContainer/
+<!-- @base is here only so it's easier to paste into validators for checking -->
+# @base &lt;http://example.org/netWorth/nw1/assetContainer/&gt;
 @prefix dcterms: &lt;http://purl.org/dc/terms/&gt;.
 @prefix ldp: &lt;http://www.w3.org/ns/ldp#&gt;.
 @prefix o: &lt;http://example.org/ontology/&gt;.
@@ -1205,7 +1217,7 @@
 &lt;?firstPage&gt;
    a ldp:Page;
    ldp:pageOf &lt;&gt;;
-   ldp:containerSortCriteria (#SortValueAscending).
+   ldp:containerSortCriteria (&lt;#SortValueAscending&gt;).
 
 &lt;#SortValueAscending&gt;
    a ldp:ContainerSortCriterion;
@@ -1218,13 +1230,13 @@
 
 &lt;a1&gt;
    a o:Stock;
-   o:value 100.00.
+   o:value 100.00 .
 &lt;a2&gt;
    a o:Cash;
-   o:value 50.00.
+   o:value 50.00 .
 &lt;a3&gt;
    a o:RealEstateHolding;
-   o:value 300000.</pre>
+   o:value 300000 .</pre>
 		<p>
 			As you can see by the addition of the <code>ldp:ContainerSortCriteria</code> 
 			predicate, the <code>o:value</code> predicate is used