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

problem when compacting IRIs that contain @ #150

Open
pchampin opened this issue Feb 25, 2021 · 0 comments
Open

problem when compacting IRIs that contain @ #150

pchampin opened this issue Feb 25, 2021 · 0 comments

Comments

@pchampin
Copy link

This issue is the same as digitalbazaar/jsonld.js#435:

The result compacting the IRI http://localhost/@special against base http://localhost/ is @special, which looks like a keyword. The consequence is that the resulted compact JSON-LD does not expand back to the original.

A workaround would be to compact it to ./@special instead.

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

No branches or pull requests

1 participant