- From: Thomas Baker <tom@tombaker.org>
- Date: Wed, 28 Jun 2017 13:28:56 +0200
- To: Janis Kajaks <janis.kajaks@gmail.com>
- Cc: public-shex@w3.org
Janis Kajaks wrote:
> In order to test the tool, I used this online validator:
> http://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.html and I
> found one test case which was a bit confusing β in ShEx primer
> (http://shex.io/shex-primer/index.html#value-sets ) itβs said that you
> can use IRIs, literals or language tags for value sets, and a value
> set with language tag could look something like this:
>
> my:IssueShape {
> ex:label [@en]
> }
>
> But unfortunately it does not work in the chosen validator, it works
> only if I append a tilde β~β like this:
> my:IssueShape {
> ex:label [@en~]
> }
>
> Could you, please, comment on why it works like this?
This appears to be a bug - thank you for pointing it out!
We have opened an issue on Github [1].
Tom
[1] https://github.com/shexSpec/shex.js/issues/20
--
Tom Baker <tom@tombaker.org>
Received on Wednesday, 28 June 2017 11:29:34 UTC