You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/06/30 15:37:00 UTC

[jira] [Commented] (JENA-1570) Inconsistent handling of language tags in GraphMem

    [ https://issues.apache.org/jira/browse/JENA-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528770#comment-16528770 ] 

Andy Seaborne commented on JENA-1570:
-------------------------------------

Hi - see the discussions on JENA-1384 and JENA-1384, and the resulting changes which includes parser options for lang tag canonicalization for both RDF and BCP-47/RFC 5646 forms. These were available in Jena 3.6.0

{{RDFParserBuilder}} --> {{langTagLowerCase}}, {{langTagCanonical}}, {{langTagAsGiven}}.

RDF and BCP-47 have different canonicalization rules.

Some users expects what is read in to be what is printed out without changes.


> Inconsistent handling of language tags in GraphMem
> --------------------------------------------------
>
>                 Key: JENA-1570
>                 URL: https://issues.apache.org/jira/browse/JENA-1570
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: Jena 3.3.0
>            Reporter: Patrycja Rewerska
>            Priority: Minor
>         Attachments: GraphMemTest.java
>
>
> We've found that the implementation of the GraphMem graph handles language tags cases in an inconsistent way.
> There is the unit test attached which shows the issue.
> It seems that the contains method is case insensitive for language tags but the insert and delete methods are case sensitive.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)