N-Triple blank node syntax

The productions for PN_CHARS_U are different between Turtle and 
N-Triples - this is visible in blank node labels.

What have N-Triples parser implemented?


N-triples is supposed to be subset of Turtle - it appears that it is 
N-triples that is wrong.

Turtle:

[164s]  PN_CHARS_U  ::=   PN_CHARS_BASE | '_'

N-Triples:

[158s] PN_CHARS_U        ::=  PN_CHARS_BASE | '_' | ':'


Test cases: As Turtle these are illegal syntax.

----
_::A <http://example/p> <http://example/o> .
----

----
_:X:Y <http://example/p> <http://example/o> .
----

PR: https://github.com/w3c/rdf-tests/pull/77

     Andy

Kindly notified by
   https://github.com/apache/jena/pull/1217

Received on Friday, 4 March 2022 19:03:45 UTC