You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2022/03/09 12:23:00 UTC

[jira] [Created] (JENA-2304) NT,NQ : Colon in blank node labels.

Andy Seaborne created JENA-2304:
-----------------------------------

             Summary: NT,NQ : Colon in blank node labels.
                 Key: JENA-2304
                 URL: https://issues.apache.org/jira/browse/JENA-2304
             Project: Apache Jena
          Issue Type: Improvement
          Components: RIOT
    Affects Versions: Jena 4.4.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne


This started with [PR#1217|https://github.com/apache/jena/pull/1217] but that change breaks Turtle.

It turns out there is a mistake in the N-triples and N-quads specs.

[https://lists.w3.org/Archives/Public/public-rdf-comments/2022Mar/0000.html]

{{:}} was not intended to be in the blank node labels definition. It is not in Turtle, or SPARQL, and N-triples is supposed to be a subset of Turtle.

A fix need to change \{{TokenizerText.readBlankNodeLabel}} and to pass in a flag saying whether in N-Triples mode or not.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)