Skip to content

prov-jsonld: resolve deferred bundle id against the document namespace - #230

Open
XLAQO wants to merge 3 commits into
lucmoreau:masterfrom
XLAQO:bundle-id-from-map-key
Open

XLAQO wants to merge 3 commits into
lucmoreau:masterfrom
XLAQO:bundle-id-from-map-key

Conversation

@XLAQO

@XLAQO XLAQO commented Aug 30, 2026

Copy link
Copy Markdown

A bundle whose namespace is empty is serialised without a "prefix" block, its prefixes being declared at document level. On deserialisation the deferred "@id" was resolved against the bundle's own prefixes alone, so the bundle identifier came back with a null namespace. The document namespace is now attached as the bundle namespace's parent before the identifier is resolved.

@XLAQO
XLAQO force-pushed the bundle-id-from-map-key branch 2 times, most recently from fa74564 to 8dc0494 Compare September 2, 2026 22:02
@XLAQO
XLAQO force-pushed the bundle-id-from-map-key branch from 8dc0494 to cb11a57 Compare September 2, 2026 22:04
@XLAQO XLAQO changed the title prov-jsonld: bundle id from enclosing map key when @id is absent prov-jsonld: resolve deferred bundle id against the document namespace Sep 2, 2026

@lucmoreau lucmoreau left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the submission. It would be good to accompany such suggested changes with tests that can be inserted into the build showing that the changes are supporting prov-jsonld compatible with its published schema.

@lucmoreau lucmoreau left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the submission.

I did not understand what the proposed change aimed to address. It would be good to accompany such suggested changes with tests that can be inserted into the build showing that the changes are supporting prov-jsonld compatible with its published schema.

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

Successfully merging this pull request may close these issues.

2 participants