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 2021/05/16 20:05:00 UTC
[jira] [Updated] (JENA-2084) Error in documentation of RDF Thrift
format
[ https://issues.apache.org/jira/browse/JENA-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne updated JENA-2084:
--------------------------------
Fix Version/s: Jena 4.1.0
> Error in documentation of RDF Thrift format
> -------------------------------------------
>
> Key: JENA-2084
> URL: https://issues.apache.org/jira/browse/JENA-2084
> Project: Apache Jena
> Issue Type: Bug
> Components: Documentation
> Affects Versions: Jena 4.0.0
> Reporter: Jon
> Assignee: Andy Seaborne
> Priority: Minor
> Fix For: Jena 4.1.0
>
>
> Both [https://jena.apache.org/documentation/io/rdf-binary.html]
> and the page that it links to [https://afs.github.io/rdf-thrift/rdf-binary-thrift.html]
> define RDF literals as:
> {code:java}
> struct RDF_Literal {
> 1: required string lex
> 2: optional string datatype
> 3: optional string langtag
> } {code}
> however the definition in the codebase appears to be:
> [https://github.com/apache/jena/blob/9519c65f8f5c377d3d9a3983eaaceeb26a99554c/jena-arq/Grammar/RDF-Thrift/BinaryRDF.thrift#L48-L53]
> {code:java}
> struct RDF_Literal {
> 1: required string lex ;
> 2: optional string langtag ;
> 3: optional string datatype ; // Either 3 or 4 but UNION is heavy.
> 4: optional RDF_PrefixName dtPrefix ; // datatype as prefix name
> } {code}
> with langtag and datatype swapped, etc.
> Perhaps these documentation pages should also link to the latest {{BinaryRDF.thrift}} file in source control?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)