W3C home > Mailing lists > Public > public-shex-dev@w3.org > October 2017

Re: [shex] Round tripping language tags case

From: Vladimir Alexiev via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 Oct 2017 11:03:14 +0000
To: public-shex-dev@w3.org
Message-ID: <issue_comment.created-338175956-1508497393-sysbot+gh@w3.org>
"ISO": indeed eg `ru-Cyrl-RU` is preferable to `ru-cyrl-ru` .
Can you say that converting back to ShexC converts tags using "BCP normalization"?
I posted to the RDF mlist https://lists.w3.org/Archives/Public/public-rdf-comments/2014Jan/0011.html including overview of what different fraemworks do (eg Sesame lowercases, Jena preserves).
and an implementation https://rt.cpan.org/Public/Ticket/Attachment/1267147/670949/lang_normalize.pl.

This won't help round-tripping but at least will enforce determinism.

GitHub Notification of comment by VladimirAlexiev
Please view or discuss this issue at https://github.com/shexSpec/shex/issues/73#issuecomment-338175956 using your GitHub account
Received on Friday, 20 October 2017 11:03:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 11:00:16 UTC