Re: ShExC schema generator tool for evaluation

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