Update test suite to use @value instead of @literal.
--- a/test-suite/tests/compact-0004-in.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/compact-0004-in.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,7 +1,7 @@
{
"@id": "http://example.org/test",
"http://example.org/test#int": {
- "@literal": "123",
+ "@value": "123",
"@type": "http://www.w3.org/2001/XMLSchema#integer"
}
}
\ No newline at end of file
--- a/test-suite/tests/compact-0005-in.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/compact-0005-in.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,7 +1,7 @@
{
"@id": "http://example.org/test#example1",
"http://example.org/vocab#date": {
- "@literal": "2011-01-25T00:00:00Z",
+ "@value": "2011-01-25T00:00:00Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"http://example.org/vocab#embed": {
--- a/test-suite/tests/compact-0006-in.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/compact-0006-in.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,19 +1,19 @@
{
"@id": "http://example.org/test",
"http://example.org/vocab#bool": {
- "@literal": "true",
+ "@value": "true",
"@type": "http://www.w3.org/2001/XMLSchema#boolean"
},
"http://example.org/vocab#double": {
- "@literal": "1.230000e+00",
+ "@value": "1.230000e+00",
"@type": "http://www.w3.org/2001/XMLSchema#double"
},
"http://example.org/vocab#double-zero": {
- "@literal": "0.000000e+00",
+ "@value": "0.000000e+00",
"@type": "http://www.w3.org/2001/XMLSchema#double"
},
"http://example.org/vocab#int": {
- "@literal": "123",
+ "@value": "123",
"@type": "http://www.w3.org/2001/XMLSchema#integer"
}
}
\ No newline at end of file
--- a/test-suite/tests/compact-0007-in.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/compact-0007-in.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,19 +1,19 @@
{
"@id": "http://example.org/test",
"http://example.org/vocab#bool": {
- "@literal": "true",
+ "@value": "true",
"@type": "http://www.w3.org/2001/XMLSchema#boolean"
},
"http://example.org/vocab#double": {
- "@literal": "1.230000e+00",
+ "@value": "1.230000e+00",
"@type": "http://www.w3.org/2001/XMLSchema#double"
},
"http://example.org/vocab#double-zero": {
- "@literal": "0.000000e+00",
+ "@value": "0.000000e+00",
"@type": "http://www.w3.org/2001/XMLSchema#double"
},
"http://example.org/vocab#int": {
- "@literal": "123",
+ "@value": "123",
"@type": "http://www.w3.org/2001/XMLSchema#integer"
}
}
\ No newline at end of file
--- a/test-suite/tests/compact-0008-in.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/compact-0008-in.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -2,6 +2,6 @@
"@id": "http://example.org/test",
"http://example.org/vocab#test": {
"@language": "en",
- "@literal": "test"
+ "@value": "test"
}
}
\ No newline at end of file
--- a/test-suite/tests/compact-0008-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/compact-0008-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -5,6 +5,6 @@
"@id": "http://example.org/test",
"ex:test": {
"@language": "en",
- "@literal": "test"
+ "@value": "test"
}
}
\ No newline at end of file
--- a/test-suite/tests/expand-0004-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/expand-0004-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,7 +1,7 @@
{
"@id": "http://example.org/test#example1",
"http://example.org/vocab#date": {
- "@literal": "2011-01-25T00:00:00Z",
+ "@value": "2011-01-25T00:00:00Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"http://example.org/vocab#embed": {
--- a/test-suite/tests/expand-0005-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/expand-0005-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,19 +1,19 @@
{
"@id": "http://example.org/test",
"http://example.org/vocab#bool": {
- "@literal": "true",
+ "@value": "true",
"@type": "http://www.w3.org/2001/XMLSchema#boolean"
},
"http://example.org/vocab#double": {
- "@literal": "1.23",
+ "@value": "1.23",
"@type": "http://www.w3.org/2001/XMLSchema#double"
},
"http://example.org/vocab#double-zero": {
- "@literal": "0.0",
+ "@value": "0.0",
"@type": "http://www.w3.org/2001/XMLSchema#double"
},
"http://example.org/vocab#int": {
- "@literal": "123",
+ "@value": "123",
"@type": "http://www.w3.org/2001/XMLSchema#integer"
}
}
\ No newline at end of file
--- a/test-suite/tests/expand-0006-in.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/expand-0006-in.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,7 +1,7 @@
{
"@id": "http://example.org/test",
"http://example.org/test#int": {
- "@literal": "123",
+ "@value": "123",
"@type": "http://www.w3.org/2001/XMLSchema#integer"
}
}
\ No newline at end of file
--- a/test-suite/tests/expand-0006-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/expand-0006-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,7 +1,7 @@
{
"@id": "http://example.org/test",
"http://example.org/test#int": {
- "@literal": "123",
+ "@value": "123",
"@type": "http://www.w3.org/2001/XMLSchema#integer"
}
}
\ No newline at end of file
--- a/test-suite/tests/expand-0007-in.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/expand-0007-in.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -5,6 +5,6 @@
"@id": "http://example.org/test",
"ex:test": {
"@language": "en",
- "@literal": "test"
+ "@value": "test"
}
}
\ No newline at end of file
--- a/test-suite/tests/expand-0007-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/expand-0007-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -2,6 +2,6 @@
"@id": "http://example.org/test",
"http://example.org/vocab#test": {
"@language": "en",
- "@literal": "test"
+ "@value": "test"
}
}
\ No newline at end of file
--- a/test-suite/tests/normalize-0010-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/normalize-0010-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,1 +1,1 @@
-[{"@id":"http://example.org/test#example","http://example.org/vocab#validFrom":{"@literal":"2011-01-25T00:00:00+0000","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}}]
\ No newline at end of file
+[{"@id":"http://example.org/test#example","http://example.org/vocab#validFrom":{"@value":"2011-01-25T00:00:00+0000","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}}]
\ No newline at end of file
--- a/test-suite/tests/normalize-0011-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/normalize-0011-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,1 +1,1 @@
-[{"@id":"http://example.org/test#example","http://example.org/vocab#validFrom":{"@literal":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}}]
\ No newline at end of file
+[{"@id":"http://example.org/test#example","http://example.org/vocab#validFrom":{"@value":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}}]
\ No newline at end of file
--- a/test-suite/tests/normalize-0012-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/normalize-0012-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,1 +1,1 @@
-[{"@id":"http://example.org/test#example","http://example.org/vocab#date":[{"@literal":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},{"@literal":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}]}]
\ No newline at end of file
+[{"@id":"http://example.org/test#example","http://example.org/vocab#date":[{"@value":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},{"@value":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"}]}]
\ No newline at end of file
--- a/test-suite/tests/normalize-0013-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/normalize-0013-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,1 +1,1 @@
-[{"@id":"http://example.org/test#example1","http://example.org/vocab#date":{"@literal":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"http://example.org/vocab#embed":{"@id":"http://example.org/test#example2"}},{"@id":"http://example.org/test#example2","http://example.org/vocab#parent":{"@id":"http://example.org/test#example1"}}]
\ No newline at end of file
+[{"@id":"http://example.org/test#example1","http://example.org/vocab#date":{"@value":"2011-01-25T00:00:00Z","@type":"http://www.w3.org/2001/XMLSchema#dateTime"},"http://example.org/vocab#embed":{"@id":"http://example.org/test#example2"}},{"@id":"http://example.org/test#example2","http://example.org/vocab#parent":{"@id":"http://example.org/test#example1"}}]
\ No newline at end of file
--- a/test-suite/tests/normalize-0014-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/normalize-0014-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,1 +1,1 @@
-[{"@id":"http://example.org/test","http://example.org/vocab#bool":{"@literal":"true","@type":"http://www.w3.org/2001/XMLSchema#boolean"},"http://example.org/vocab#double":{"@literal":"1.230000e+00","@type":"http://www.w3.org/2001/XMLSchema#double"},"http://example.org/vocab#double-zero":{"@literal":"0.000000e+00","@type":"http://www.w3.org/2001/XMLSchema#double"},"http://example.org/vocab#int":{"@literal":"123","@type":"http://www.w3.org/2001/XMLSchema#integer"}}]
\ No newline at end of file
+[{"@id":"http://example.org/test","http://example.org/vocab#bool":{"@value":"true","@type":"http://www.w3.org/2001/XMLSchema#boolean"},"http://example.org/vocab#double":{"@value":"1.230000e+00","@type":"http://www.w3.org/2001/XMLSchema#double"},"http://example.org/vocab#double-zero":{"@value":"0.000000e+00","@type":"http://www.w3.org/2001/XMLSchema#double"},"http://example.org/vocab#int":{"@value":"123","@type":"http://www.w3.org/2001/XMLSchema#integer"}}]
\ No newline at end of file
--- a/test-suite/tests/normalize-0043-in.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/normalize-0043-in.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -5,6 +5,6 @@
"@id": "http://example.org/test",
"ex:test": {
"@language": "en",
- "@literal": "test"
+ "@value": "test"
}
}
\ No newline at end of file
--- a/test-suite/tests/normalize-0043-out.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/normalize-0043-out.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,1 +1,1 @@
-[{"@id":"http://example.org/test","http://example.org/vocab#test":{"@language":"en","@literal":"test"}}]
\ No newline at end of file
+[{"@id":"http://example.org/test","http://example.org/vocab#test":{"@language":"en","@value":"test"}}]
\ No newline at end of file
--- a/test-suite/tests/rdf-0004.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/rdf-0004.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,6 +1,6 @@
{
"http://www.w3.org/2000/01/rdf-schema#label": {
- "@literal": "A plain literal with a lang tag.",
+ "@value": "A plain literal with a lang tag.",
"@language": "en-us"
}
}
\ No newline at end of file
--- a/test-suite/tests/rdf-0005.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/rdf-0005.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,6 +1,6 @@
{
"@id": "http://greggkellogg.net/foaf#me",
"http://xmlns.com/foaf/0.1/knows": {
- "http://xmlns.com/foaf/0.1/name": {"@literal": "Herman Iván", "@language": "hu"}
+ "http://xmlns.com/foaf/0.1/name": {"@value": "Herman Iván", "@language": "hu"}
}
}
--- a/test-suite/tests/rdf-0006.jsonld Tue Jan 10 10:26:00 2012 -0800
+++ b/test-suite/tests/rdf-0006.jsonld Tue Jan 10 10:33:10 2012 -0800
@@ -1,7 +1,7 @@
{
"@id": "http://greggkellogg.net/foaf#me",
"http://purl.org/dc/terms/created": {
- "@literal": "1957-02-27",
+ "@value": "1957-02-27",
"@type": "http://www.w3.org/2001/XMLSchema#date"
}
}