Skip to content

Finding the root data entity without knowing crate version. #253

Answered by stain
Pfeil asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry this is an old question.. could you check if algorithm in https://www.researchobject.org/ro-crate/specification/1.2-DRAFT/root-data-entity.html#finding-the-root-data-entity is now clearer?

The algorithm would be backward compatible to 1.1 as there was no way to rename ro-crate-metadata.json entity in 1.1, however older versions 1.0 could have ro-crate-metadata.jsonld which would fail the 1.2 algorithm. Would you consider that a breaking change?

I would try 1.1 algorithm first, then revert to 1.0 algorithm which should also find 0.2.

Do you think we need a note in 1.2 (#353) about the backward compatibility and other algorithms?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pfeil
Comment options

Answer selected by Pfeil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants