diff options
author | David Robillard <d@drobilla.net> | 2019-03-10 12:16:54 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-13 23:05:19 -0500 |
commit | 4dc7f00c2a312937073c63960307910da739c27b (patch) | |
tree | 4ea6653407268ca5d3621380f6896e7eee6cd744 /test/lax/test-lone-list.nt | |
parent | a414bf5a02a9894219d7945416916a3ce8ab903b (diff) | |
download | serd-4dc7f00c2a312937073c63960307910da739c27b.tar.gz serd-4dc7f00c2a312937073c63960307910da739c27b.tar.bz2 serd-4dc7f00c2a312937073c63960307910da739c27b.zip |
Support reading lone lists in lax mode
This allows parsing documents like "(42) ."
Diffstat (limited to 'test/lax/test-lone-list.nt')
-rw-r--r-- | test/lax/test-lone-list.nt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lax/test-lone-list.nt b/test/lax/test-lone-list.nt new file mode 100644 index 00000000..400c2aba --- /dev/null +++ b/test/lax/test-lone-list.nt @@ -0,0 +1,2 @@ +_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "42"^^<http://www.w3.org/2001/XMLSchema#integer> . +_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> . |