diff options
author | David Robillard <d@drobilla.net> | 2019-12-18 19:09:49 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:05:26 -0500 |
commit | 5d43cb36087292a397992aa1b59326fc355d5247 (patch) | |
tree | f313f87fea160cd52af3bba8c3de77c25b0519bf /test/bad | |
parent | 55e28966226268a57edb07419ac419ef53ac437d (diff) | |
download | serd-5d43cb36087292a397992aa1b59326fc355d5247.tar.gz serd-5d43cb36087292a397992aa1b59326fc355d5247.tar.bz2 serd-5d43cb36087292a397992aa1b59326fc355d5247.zip |
Add support for parsing variables
This adds a reader flag and serdi option for extending a syntax with support
for SPARQL-like variables, for storing things like patterns or simple queries.
Diffstat (limited to 'test/bad')
-rw-r--r-- | test/bad/bad-var.ttl | 2 | ||||
-rw-r--r-- | test/bad/manifest.ttl | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/bad/bad-var.ttl b/test/bad/bad-var.ttl new file mode 100644 index 00000000..29b5b008 --- /dev/null +++ b/test/bad/bad-var.ttl @@ -0,0 +1,2 @@ +?s + <http://example.org/p> <http://example.org/o> . diff --git a/test/bad/manifest.ttl b/test/bad/manifest.ttl index 96a0b593..466a4435 100644 --- a/test/bad/manifest.ttl +++ b/test/bad/manifest.ttl @@ -70,6 +70,7 @@ <#bad-string> <#bad-subject> <#bad-uri-escape> + <#bad-var> <#bad-verb> <#invalid-char-in-local> <#invalid-char-in-prefix> @@ -394,6 +395,11 @@ mf:name "bad-uri-escape" ; mf:action <bad-uri-escape.ttl> . +<#bad-var> + rdf:type rdft:TestTurtleNegativeSyntax ; + mf:name "bad-var" ; + mf:action <bad-var.ttl> . + <#bad-verb> rdf:type rdft:TestTurtleNegativeSyntax ; mf:name "bad-verb" ; |