hsolbrig / PyShEx

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

Absolute focus nodes don't work when testing against local shexTest image #1

Closed hsolbrig closed 6 years ago

hsolbrig commented 6 years ago

When evaluating RDF in the form:

<x> :p1 "p1-0" .

<x> resolves to "file:///usr/path/x" if this is loaded from "/usr/path/foo.ttl". The focus, sht:focus in the manifest resolves to the absolute manifest location (https://raw.githubusercotent.com/shexSpec/shexTest/master/validation/x). We need to tweak the focus node in manifest_tester.py to match

hsolbrig commented 6 years ago

Fix introduces a new bug -- data_redirector is only present WHEN doing a local test