[
https://issues.apache.org/jira/browse/JENA-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16514749#comment-16514749
]
ASF GitHub Bot commented on JENA-1563:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/jena/pull/435
> ResultSetReaderJSON does not accept "lang"+"datatype" on the same literal.
> --------------------------------------------------------------------------
>
> Key: JENA-1563
> URL: https://issues.apache.org/jira/browse/JENA-1563
> Project: Apache Jena
> Issue Type: Bug
> Affects Versions: Jena 3.7.0
> Reporter: Andy Seaborne
> Priority: Major
>
> Reported by Philip Coates by [email date 2018-06-08 on
> dev@|https://lists.apache.org/thread.html/de8a84a612b978a1dcadd54d1d84eea0a944fc36fd52019f5eb0be3b@%3Cdev.jena.apache.org%3E].
> Example:
> {noformat}
> {
> "xml:lang" : "en" ,
> "datatype" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString" ,
> "type" : "literal" ,
> "value" : "phototaxis"
> }
> {noformat}
> The {{"datatype"}} is not needed because {{"xml:lang"}} implies it. The RDF
> specs recommend that daatypes are not added when there is a language tag.
> Jena can be lenient and accept this when {{"datatype"}} is rdf:langString
> (anything else is incorrect).
> For reference: {{"datatype"}} xsd:string isn't necessary either but is
> accepted (it happens from RDF 1.0 systems).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)