w3c / w3c/json-ld-api

Possibly invalid test fromRdf#tjs03

Open
#673 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
106
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm having trouble reproducing the output of https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tjs03 in the new version of the json-ld Rust library I'm working on. The input value is the 1.23 literal, but for some reason it is transformed into 1.23E0 in the output. I don't understand this transformation given that it's not the JCS form of 1.23 (as far as I know) and even if it was, the serialization algorithm doesn't require any canonicalization.

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 fromRdf#tjs03 test in the linked JSON-LD API manifest and compare its 1.23 input and expected output with serialization algorithm 16 and the JCS reference. Determine whether producing 1.23E0 is valid for this test; done means the test's validity and expected representation are resolved and recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.