← all corpora

whatwg-url

reference corpus · status live · domain WEB (Web and frontend platform) · lane A · refresh pinned · tags GLOBAL · URL · PARSING · ORIGIN · WHATWG · SPEC

What an agent uses it for

an agent parsing or validating URLs queries this for the WHATWG URL Standard's exact parsing state machine, origin rules, and the URLSearchParams API.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/whatwg-url.json
xerj corpus add --from ./whatwg-url.json
xerj corpus index whatwg-url then xerj code whatwg-url "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "whatwg-url", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
url fde3f74f0633CC-BY-4.0 2.5 MB / 32 files Decoded LICENSE byte-identical to whatwg-html (md5 7c81f45): CC-BY-4.0 prose + BSD-3-Clause code snippets. Live, not archived. Attribute WHATWG.

2.5 MB across 32 files. Added 2026-10-13.

Rights

CC-BY-4.0. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.