diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/w3c/NTriplesTests/manifest.ttl | 18 | ||||
-rw-r--r-- | test/w3c/NTriplesTests/nt-syntax-bad-bnode-01.nt | 1 | ||||
-rw-r--r-- | test/w3c/NTriplesTests/nt-syntax-bad-bnode-02.nt | 1 |
3 files changed, 18 insertions, 2 deletions
diff --git a/test/w3c/NTriplesTests/manifest.ttl b/test/w3c/NTriplesTests/manifest.ttl index 246561cb..a90da4f7 100644 --- a/test/w3c/NTriplesTests/manifest.ttl +++ b/test/w3c/NTriplesTests/manifest.ttl @@ -8,7 +8,7 @@ @prefix rdft: <http://www.w3.org/ns/rdftest#> . <> rdf:type mf:Manifest ; - mf:name "N-Triples tests" ; + rdfs:label "N-Triples tests" ; mf:entries ( <#nt-syntax-file-01> @@ -40,6 +40,8 @@ <#nt-syntax-bad-uri-09> <#nt-syntax-bad-prefix-01> <#nt-syntax-bad-base-01> + <#nt-syntax-bad-bnode-01> + <#nt-syntax-bad-bnode-02> <#nt-syntax-bad-struct-01> <#nt-syntax-bad-struct-02> <#nt-syntax-bad-lang-01> @@ -255,6 +257,18 @@ mf:action <nt-syntax-bad-base-01.nt> ; . +<#nt-syntax-bad-bnode-01> rdf:type rdft:TestNTriplesNegativeSyntax ; + mf:name "nt-syntax-bad-bnode-01" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action <nt-syntax-bad-bnode-01.nt> ; + . + +<#nt-syntax-bad-bnode-02> rdf:type rdft:TestNTriplesNegativeSyntax ; + mf:name "nt-syntax-bad-bnode-02" ; + rdfs:comment "Colon in bnode label not allowed (negative test)" ; + mf:action <nt-syntax-bad-bnode-02.nt> ; + . + <#nt-syntax-bad-struct-01> rdf:type rdft:TestNTriplesNegativeSyntax ; mf:name "nt-syntax-bad-struct-01" ; rdfs:comment "N-Triples does not have objectList (negative test)" ; @@ -415,7 +429,7 @@ <#literal_with_dquote> rdf:type rdft:TestNTriplesPositiveSyntax ; mf:name "literal_with_dquote" ; - rdfs:comment "literal with dquote \"x\"y\"" ; + rdfs:comment 'literal with dquote "x\"y"' ; rdft:approval rdft:Proposed ; mf:action <literal_with_dquote.nt> ; . diff --git a/test/w3c/NTriplesTests/nt-syntax-bad-bnode-01.nt b/test/w3c/NTriplesTests/nt-syntax-bad-bnode-01.nt new file mode 100644 index 00000000..a776d20d --- /dev/null +++ b/test/w3c/NTriplesTests/nt-syntax-bad-bnode-01.nt @@ -0,0 +1 @@ +_::a <http://example/p> <http://example/o> . diff --git a/test/w3c/NTriplesTests/nt-syntax-bad-bnode-02.nt b/test/w3c/NTriplesTests/nt-syntax-bad-bnode-02.nt new file mode 100644 index 00000000..093b8700 --- /dev/null +++ b/test/w3c/NTriplesTests/nt-syntax-bad-bnode-02.nt @@ -0,0 +1 @@ +_:abc:def <http://example/p> <http://example/o> . |