Skip to content

Don't crash when $schema is an invalid IRI - #148

Merged
jdesrosiers merged 1 commit into
mainfrom
fix-invalid-schema-iri
Oct 11, 2026
Merged

jdesrosiers merged 1 commit into
mainfrom
fix-invalid-schema-iri

Conversation

@jdesrosiers

Copy link
Copy Markdown
Collaborator

An invalid $schema is kept as the document's schema URI so validation can report it, but registry lookups and registration diagnostics passed it to toAbsoluteIri, which throws. An invalid IRI now matches no registered id.

An invalid $schema is kept as the document's schema URI so validation
can report it, but registry lookups and registration diagnostics passed
it to toAbsoluteIri, which throws. An invalid IRI now matches no
registered id.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jdesrosiers
jdesrosiers merged commit bd81609 into main Oct 11, 2026
6 checks passed
@jdesrosiers
jdesrosiers deleted the fix-invalid-schema-iri branch October 11, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant