-
Notifications
You must be signed in to change notification settings - Fork 251
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
EDC namespace: Broken w3id.org redirect #4825
Comments
Thanks for your contribution 🔥 We will take a look asap 🚀 |
I think you are mixing up concepts between "namespace iri" and "referenced context url". |
Hi @ndr-brt , Thanks for the link. Indeed, it helps understand the syntax. Awesome! :) Do you agree that https://w3id.org/edc/v0.0.1/ns/ is broken? Do you agree that it should be fixed? Best, |
it redirects to the EDC documentation, looks fair to me. What would have you expected? |
This issue is stale because it has been open for 14 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
Bug Report
Describe the Bug
We commonly include edc namespace via w3id.org
Unfortunately, the w3id.org redirect is broken and leads to an html page (instead of some json ld).
Expected Behavior
https://w3id.org/edc/v0.0.1/ns/ redirects to a proper json defining the edc vocabulary
Observed Behavior
https://w3id.org/edc/v0.0.1/ns/ redirects to https://eclipse-edc.github.io/docs, a human-readable html page
Steps to Reproduce
Context Information
Some of this EDC namespace is posssibly loaded into the edc already at compile time. However, edc vocabulary should be accessibly to the end user when writing, e.g., edc policies.
There's a list of shorthands allegedly loaded at compile time for tractus-x edc here: https://github.com/eclipse-tractusx/tractusx-edc/tree/main/core/json-ld-core/src/main/resources/document . However they do not define edc namespace vocab, they simply provide a shorthand
"contractPolicyId": "edc:contractPolicyId"
to not have to prefix frequently used edc vocabulary withedc:
, it appears.When writing, e.g., incorrect contract definitions, an end user is often confronted with error messages (good). However, when trying to follow up on error messages such as
either i) this error points directly to a broken redirect or ii) the end user can not (effectively) assess their mistake because they are confused by the broken redirect.
Detailed Description
Good w3id.org redirect
Possible Implementation
Work with w3id.org to have a proper redirect.
The text was updated successfully, but these errors were encountered: