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

Re: ShExC schema generator tool for evaluation

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
Message-ID: <20170628112856.GA31433@Cicero.SpeedportEntry2090126200030>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 28 June 2017 11:29:35 UTC