hsolbrig / PyShEx

ShEx interpreter for ShEx 2.0
Creative Commons Zero v1.0 Universal
25 stars 10 forks source link

Literal start node doesn't work #66

Open hsolbrig opened 4 years ago

hsolbrig commented 4 years ago

The following shape expression:

PREFIX cmdr: <http://cbiit.nci.nih.gov/caDSR#>

start=@<DataElement>

<DataElement> {
    ^cmdr:publicId URI
}

fails when invoked with a Literal or string focus (e.g. Literal("12345"))