w3c / w3c/json-ld-api

LoadDocumentCallback isn't passed into the algorithms that use it

Open
#580 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Editorial editorial:class 2 ErratumRaised spec:editorial
Dominant language
HTML
Stars
106
Forks
40
PR merge metrics
No merged PRs in 30d

Description

https://www.w3.org/TR/json-ld-api/#algorithm uses a LoadDocumentCallback in two places, but its interface doesn't say any such callback should be passed in.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the W3C JSON-LD API algorithm at the linked section and locate the two uses of LoadDocumentCallback, then compare them with the callback interface. Done means the interface and algorithm description consistently specify how the callback is passed.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.