Changed xsd:anyURI to @iri.
authorDave Longley <dlongley@digitalbazaar.com>
Fri, 26 Aug 2011 02:16:30 +0800
changeset 174 e0a997cb4be0
parent 173 111acec18579
child 175 219eb84e62d2
Changed xsd:anyURI to @iri.
playground/playground-examples.js
--- a/playground/playground-examples.js	Wed Aug 24 10:31:59 2011 +0800
+++ b/playground/playground-examples.js	Fri Aug 26 02:16:30 2011 +0800
@@ -24,7 +24,7 @@
          "xsd": "http://www.w3.org/2001/XMLSchema#",
          "@coerce":
          {
-            "xsd:anyURI": ["homepage"]
+            "@iri": ["homepage"]
          }
       }
    };
@@ -51,7 +51,7 @@
          "xsd": "http://www.w3.org/2001/XMLSchema#",
          "@coerce":
          {
-            "xsd:anyURI": ["image"],
+            "@iri": ["image"],
             "xsd:float": ["latitude", "longitude"]
          }
       }
@@ -102,7 +102,7 @@
          "xsd": "http://www.w3.org/2001/XMLSchema#",
          "@coerce":
          {
-            "xsd:anyURI": ["foaf:page", "gr:acceptedPaymentMethods", "gr:hasBusinessFunction"],
+            "@iri": ["foaf:page", "gr:acceptedPaymentMethods", "gr:hasBusinessFunction"],
             "xsd:float": ["gr:hasCurrencyValue"]
          }
       }
@@ -182,7 +182,7 @@
       {
          "@coerce": 
          {
-            "xsd:anyURI": "ex:contains"
+            "@iri": "ex:contains"
          },
          "dc": "http://purl.org/dc/elements/1.1/",
          "ex": "http://example.org/vocab#",