You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm correct, the resolution of w3c/json-ld-syntax#297 was to ignore (and optionally warn) the use of unknown keywords.
However, toRdf tests tpr38 and tpr39 seem to require an invalid IRI mapping error to be thrown. Their description does however mention that such keywords are ignored.
Is this an error in the tests, or is this intentional and am I missing something?
The text was updated successfully, but these errors were encountered:
They are errors (both in toRdf and expansion) not because they have the form of a keyword, but because they do not expand to absolute IRIs. IRI expansion returns null and issues a warning when it sees such a keyword, which happens in context processing. Because the value of @reverse must expand to an absolute IRI, this is an error.
If I'm correct, the resolution of w3c/json-ld-syntax#297 was to ignore (and optionally warn) the use of unknown keywords.
However, toRdf tests tpr38 and tpr39 seem to require an
invalid IRI mapping
error to be thrown. Their description does however mention that such keywords are ignored.Is this an error in the tests, or is this intentional and am I missing something?
The text was updated successfully, but these errors were encountered: