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

Add test for relative IRI starting with a number. #577

Open
davidlehn opened this issue Sep 1, 2023 · 0 comments
Open

Add test for relative IRI starting with a number. #577

davidlehn opened this issue Sep 1, 2023 · 0 comments

Comments

@davidlehn
Copy link
Contributor

jsonld.js had a bug not being strict enough when parsing IRIs. For input like 123:abc it would think 123 was a URI scheme.
digitalbazaar/jsonld.js#523

This may not be a common implementation problem. Perhaps a one-line test case update can be added just in case. Which of the many toRdf 3986 test files would be best for this? A one-liner to ensure 123:abc is considered relative vs absolute would catch the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Testing
Development

No branches or pull requests

1 participant