diff options
author | David Robillard <d@drobilla.net> | 2019-03-10 12:16:54 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | 233dc12e44eea2ebd967b5fc9fbfe8f1b153adf6 (patch) | |
tree | 802cabc8e6088d65787e06087b2c0d43c1090036 /test/extra/lax/test-lone-list.nt | |
parent | e03e9fb1cf398aacb38e2364f43512a71e885138 (diff) | |
download | serd-233dc12e44eea2ebd967b5fc9fbfe8f1b153adf6.tar.gz serd-233dc12e44eea2ebd967b5fc9fbfe8f1b153adf6.tar.bz2 serd-233dc12e44eea2ebd967b5fc9fbfe8f1b153adf6.zip |
Support reading lone lists in lax mode
This allows parsing documents like "(42) ."
Diffstat (limited to 'test/extra/lax/test-lone-list.nt')
-rw-r--r-- | test/extra/lax/test-lone-list.nt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/extra/lax/test-lone-list.nt b/test/extra/lax/test-lone-list.nt new file mode 100644 index 00000000..400c2aba --- /dev/null +++ b/test/extra/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> . |