-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to set baseIRI on individual import call #41
Comments
Seems like the same problem as in #32. But this should've been fixed in 1.3.5. Are you sure you're using the latest version? |
In fact I was not and yes, the parsing is fixed when a baseIRI is passed to the constructor. Would still be nice to add a parameter to |
Makes sense, but we may want to define this as spec-level first, as it does not seem to allow parameters to be passed: http://rdf.js.org/stream-spec/#sink-interface |
Not a bad idea, at least for On the other hand, since we're talking about JS, any superfluous parameters are also not forbidden implicitly. Are you going to create an issue? |
I don't have the available bandwidth to pull this myself, so feel free to create an issue! :-) |
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 onowl:Ontology
as seen belowI am running this from
@rdfjs/fetch
which sets abaseIRI
parameter when calling likeparser.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
The text was updated successfully, but these errors were encountered: