Skip to content

Handling of expansion of empty @base. #207

@davidlehn

Description

@davidlehn

Current code, after RFC3986 fixes, handles empty @base in an unexpected way. See example in json-ld/json-ld.org#535.

  • Determine if undefined empty @base behavior is ok.
  • Add json-ld.org test suite test for behavior one way or another?
  • Add local test so code doesn't change the "undefined" behavior?
  • Raise error and suggest using null?
  • Update lib code that is setting base to "" if something else (null?) is more appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions