Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 3.7.0
-
None
-
None
Description
Reported by Philip Coates by email date 2018-06-08 on dev@.
Example:
{ "xml:lang" : "en" , "datatype" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString" , "type" : "literal" , "value" : "phototaxis" }
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).
Attachments
Issue Links
- links to