[
https://issues.apache.org/jira/browse/MARMOTTA-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566184#comment-13566184
]
Peter Ansell commented on MARMOTTA-43:
--------------------------------------
Language tag parsing in Sesame is currently implemented in a non-static method
in RDFParserBase, which parsers and other users are not obliged to use:
https://bitbucket.org/openrdf/sesame/src/174a7994595c/core/rio/api/src/main/java/org/openrdf/rio/helpers/RDFParserBase.java?at=master#cl-458
If you would like it in a static utility class or you have improvements to it
to be more strict/pedantic feel free to let me know.
> RDF1.1 Language Tags
> --------------------
>
> Key: MARMOTTA-43
> URL: https://issues.apache.org/jira/browse/MARMOTTA-43
> Project: Marmotta
> Issue Type: Bug
> Components: Libraries
> Affects Versions: 2.6
> Reporter: Jakob Frank
> Assignee: Sebastian Schaffert
> Priority: Minor
> Labels: kiwi, rdf
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> In RDF 1.1, language tags MUST conform to the BCP47 standard.
> We are currently using the format: xx_YY_zzz, but BCP47 requires xx-YY-zzz.
> Furthermore, RDF 1.1 requires lang tags to be all lowercase.
> Also in the DB-model, the lang-tag column is fixed to length 5 - which might
> be not sufficient for some special lang-tags.
> http://www.w3.org/TR/2013/WD-rdf11-concepts-20130115/#section-Graph-Literal
> http://tools.ietf.org/html/bcp47#section-2.2.9
--
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