-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I think related to #20 but maybe not exactly the same, I found out that the parser fails to handle some relative named nodes and throws. For example I failed to parse https://www.w3.org/ns/earl# and it fails right off the bat on owl:Ontology as seen below
<rdf:RDF xml:base=""
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl"
xmlns:dc="http://purl.org/dc/terms/">
<owl:Ontology rdf:about=""></owl:Ontology>I am running this from @rdfjs/fetch which sets a baseIRI parameter when calling like parser.import({ baseIRI: res.url }).
The parser however does not take a second parameter and the base test ignores. I think it would be worth adding, similarly to how most other RDF/JS parser out there do
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request