Skip to content

Specifying both a literal datatype and a value set in ShExC #121

@tombaker

Description

@tombaker

I expected the following to work:

my:IssueShape {
  ex:status xsd:integer [0 1];
}

However, it apparently only works with AND:

PREFIX my: <http://my.example/>
PREFIX ex: <http://ex.example/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

my:IssueShape {
  ex:status [0 1] AND xsd:integer;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions