DaniFdezAlvarez / shexer

Apache License 2.0
26 stars 2 forks source link

prefix with / after prefix #142

Closed jjkoehorst closed 1 year ago

jjkoehorst commented 1 year ago

I think things could go wrong when there is a slash in the variable after the prefix...?

:Workflow { rdf:type [cwl:Workflow] ; rdfs:comment xsd:string ; rdfs:label xsd:string ; cwltool:original_cwlVersion xsd:string ; sschema:author @:Person {2}; sschema:citation IRI ; sschema:codeRepository IRI ; sschema:copyrightHolder xsd:string ; sschema:dateCreated xsd:string ; sschema:dateModified xsd:string ; sschema:license IRI ; cwl:Workflow/steps IRI {10}; <<<< Line 185 cwl:cwlVersion IRI ; cwl:inputs IRI {14}; cwl:outputs IRI {5}; cwl:requirements IRI {3} }

line 185:15 token recognition error at: '/steps IRI {10};\r' line 516:24 token recognition error at: '/dockerPull xsd:string \r' line 523:26 token recognition error at: '/packages IRI \r' line 549:21 token recognition error at: '/expression xsd:string \r' line 571:15 token recognition error at: '/steps IRI ?;\r' line 605:15 token recognition error at: '/steps IRI ;\r'

DaniFdezAlvarez commented 1 year ago

Ah yes... that's a bug right there. I was actually not aware that using / or # after a prefix is invalid syntax. I'll fix that