Skip to content
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

Regarding the handling of IRIs as XML namespaces #69

Open
funkyfuture opened this issue Feb 12, 2023 · 0 comments
Open

Regarding the handling of IRIs as XML namespaces #69

funkyfuture opened this issue Feb 12, 2023 · 0 comments
Labels
design Proposals and discussion of API changes

Comments

@funkyfuture
Copy link
Contributor

before i dump an attempt to validate declared namespaces as IRIs (RFC 3987) in #68, i want to leave some notes about the problem.

  • lxml doesn't seem to validate namespace values, after all the test suite is full with invalid ones
  • rdflib validates URIs like this, it doesn't really
  • there's also uritools that focuses on parsing rather than validation and has no type annotations or support for RFC 3687 yet
  • delb's namepace validation logic (as part of a parser implementation) would also have to consider xml:base and thus require a function to resolve relative IRIs
  • in the Rust realm there are iref, iri-string, oxiri & sophia_iri

whatever a design decision will be, i'd rather like to see it late on the roadmap.

@funkyfuture funkyfuture added the design Proposals and discussion of API changes label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Proposals and discussion of API changes
Projects
None yet
Development

No branches or pull requests

1 participant