[ 
https://issues.apache.org/jira/browse/JENA-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne reassigned JENA-2084:
-----------------------------------

    Assignee: Andy Seaborne

> 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
>
> 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)

Reply via email to