The following is not parsed correctly by Serd 0.26.0 when run as serdi -i ntriples <FILE>:
<a:b> <a:b> <a2:b>
This gives the following error:
syntax does not support relative IRIs
Catch exception load: Error parsing input.
But there are no relative IRIs in the above content. Specifically, the digit (2) in the third IRI's scheme component causes the problem. According to URI/IRI grammars, non-initial characters of scheme components are allowed to be decimal digits.
The same content does parse correctly with serdi -i turtle <FILE>.
The following is not parsed correctly by Serd 0.26.0 when run as
serdi -i ntriples <FILE>
:This gives the following error:
But there are no relative IRIs in the above content. Specifically, the digit (
2
) in the third IRI's scheme component causes the problem. According to URI/IRI grammars, non-initial characters of scheme components are allowed to be decimal digits.The same content does parse correctly with
serdi -i turtle <FILE>
.