[
https://issues.apache.org/jira/browse/MARMOTTA-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563466#comment-13563466
]
Jakob Frank commented on MARMOTTA-34:
-------------------------------------
let's check with the RDF 1.1 spec in detail before simply reverting the
changes...
until now, we used xsd:string, not rdf:langString - so at least there's a
difference.
plus: what to do with wrong combination of lang/type: a xsd:int which gets a
lang tag: should the type be automatically fixed?
http://www.w3.org/TR/2013/WD-rdf11-concepts-20130115/#section-Graph-Literal
> Literals with language tag should not have a type
> -------------------------------------------------
>
> Key: MARMOTTA-34
> URL: https://issues.apache.org/jira/browse/MARMOTTA-34
> Project: Marmotta
> Issue Type: Bug
> Components: Libraries
> Reporter: Jakob Frank
> Assignee: Jakob Frank
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Currently, KiWiValueFactory sets the type of a Literal to string if nothing
> is explicitly set, even if there is a language tag provided.
> AFAIU, this is not the correct behaviour, Literals with a language tag are
> untyped.
> http://www.w3.org/TR/rdf-concepts/#section-Graph-Literal
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira