Skip to content

Possible bug with @json being treated as invalid type in frame #142

@dlongley

Description

@dlongley

This issue stems from: digitalbazaar/jsonld.js#506

It relates to step 1.3 in the Framing Algorithm where a frame's validity is being checked.

It seems that either that step doesn't appropriately allow for @json (which is a valid JSON-LD type) or that the algorithm should have stopped recursing when @json was detected and just accepted whatever the value was (since it cannot recurse into @json datatypes, presumably). I didn't look more closely to determine which way to go here with the algorithm (whether it's the former simple fix or not), but I expect that some test cases could help shake it out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EditorialUsed by the errata managementErratumRaisedUsed by the errata management

    Type

    No type

    Projects

    Status

    Errata

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions