[spec] ShExC valueSetValue/exclusions examples inconsistent with example (#42)

gkellogg has just created a new issue for https://github.com/shexSpec/spec:

== ShExC valueSetValue/exclusions examples inconsistent with example ==
As noted in https://lists.w3.org/Archives/Public/public-shex/2021Aug/0001.html:

In ShEx 2.0, the productions were defined as follows:

    [49]    valueSetValue         ::= iriRange | literalRange | languageRange | '.' exclusion+
    [50]    exclusion             ::= '-' (iri | literal | LANGTAG) '~'?

In ShEx 2.1, they were updated to the following:

    [49]    valueSetValue         ::= iriRange | literalRange | languageRange | exclusion+
    [50]    exclusion             ::= '.' '-' (iri | literal | LANGTAG) '~’?

But, the note on [49] still notes "If "." matches and exclusion matches one or more times”, and that doesn’t make sense in this context.  Also, the third ValuesConstraint example has a ‘.’ only at the beginning:

    ex:EmployeeShape {
      foaf:mbox [ . - <mailto:engineering->~ - <mailto:sales->~ ]
    }

Looks like the changes were made in error? Certainly, the new grammar is not forward-compatible with 2.0.


Please view or discuss this issue at https://github.com/shexSpec/spec/issues/42 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 29 August 2021 20:09:57 UTC