Open dlongley opened 3 months ago
The most common relative URL mistake looks like:
"type": [..., "SomeUndefinedType"]
So we should make sure to cover that.
Suite now contains:
When deserializing to RDF, implementations MUST ensure that the base URL is set to null.
https://github.com/w3c-ccg/data-integrity-test-suite-assertion/blob/1f5c835edf8607d88d6e10776ebf1791828902fa/vc-generator/generators.js#L432-L449
the context is deleted in a clean up step.
and
Implementations that use JSON-LD processing, such as RDF Dataset Canonicalization [RDF-CANON], MUST throw an error, which SHOULD be DATA_LOSS_DETECTION_ERROR, when data is dropped by a JSON-LD processor, such as when an undefined term is detected in an input document.
https://github.com/w3c-ccg/data-integrity-test-suite-assertion/blob/1f5c835edf8607d88d6e10776ebf1791828902fa/vc-generator/generators.js#L267-L275
LMK if that is enough to close this issue.
The most common relative URL mistake looks like:
So we should make sure to cover that.