When @base is null, it sets base to null (makes IRIs relative).
--- a/test-suite/tests/expand-0060-in.jsonld Thu Jun 06 13:28:45 2013 -0400
+++ b/test-suite/tests/expand-0060-in.jsonld Thu Jun 06 21:59:07 2013 -0400
@@ -23,7 +23,7 @@
},
"@id": "../document-relative",
"@type": "#document-relative",
- "property": "only @base is reset"
+ "property": "only @base is cleared"
}
]
}
--- a/test-suite/tests/expand-0060-out.jsonld Thu Jun 06 13:28:45 2013 -0400
+++ b/test-suite/tests/expand-0060-out.jsonld Thu Jun 06 21:59:07 2013 -0400
@@ -12,9 +12,9 @@
"@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ]
},
{
- "@id": "http://json-ld.org/test-suite/document-relative",
- "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ],
- "http://example.com/vocab#property": [ { "@value": "only @base is reset" } ]
+ "@id": "../document-relative",
+ "@type": [ "#document-relative" ],
+ "http://example.com/vocab#property": [ { "@value": "only @base is cleared" } ]
}
]
}