Github user stain commented on the issue: https://github.com/apache/commons-rdf/pull/30 OK, so then it makes sense for the Commons RDF tests to only care about the value being preserved (whatever the case going in or out is upper or lower), and that our .equals and .hashCode is based on lowercase in the ROOT Locale. We don't have equivalent tests if datatyped floats etc preserve their specific syntactic value (e.g. "-.0"^^xsd:float) so we should not do that for langtags either. I'll modify the branch and merge. On 21 Jan 2017 9:39 pm, "Andy Seaborne" <notificati...@github.com> wrote: > RDF 1.1 mentions: > > 1. Turtle parsing - there is a lang tag rule. > 2. The text that conversion to a lowercase lexical is allowed. > 3. Value-comparison is case insensitive. > > Which is that test for? Lexical or value? > > At least acknowledging that RDF's "lowercase" is not in keeping with BCP > 47 syntax canonicalization (the registry may change the characters) > whatever the spec makes sense to me and I suspect domain experts; it's > following the spec that "owns" language tags. Focus on the value comparison. > > â > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/apache/commons-rdf/pull/30#issuecomment-274290063>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AAPd5Q9mhDWV3MwkRzl0QLO5FS7bVl6Wks5rUnsmgaJpZM4Lh1hF> > . >
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org