Skip to content

Accept # in tag URIs - #356

Open
anon5376 wants to merge 1 commit into
yaml:masterfrom
anon5376:codex/tag-uri-fragments
Open

anon5376 wants to merge 1 commit into
yaml:masterfrom
anon5376:codex/tag-uri-fragments

Conversation

@anon5376

@anon5376 anon5376 commented Oct 10, 2026 •

Copy link
Copy Markdown

# in %TAG prefixes, verbatim tags and shorthand suffixes causes scanner errors. Accept it as a YAML 1.2 URI character.

Adds loader regressions for the four tag forms, escaped hashes and separated comments.

Tests: CMake static/shared 4/4 each; Autotools 4/4; upstream conformance 452/452. The raw-# cases fail before the fix.

Fixes #253.

I’ve reviewed the code.

Fixes yaml#253.

Assisted-by: OpenAI Codex
Reviewed-by: GPT-6 Luna (AI)
Reviewed-by: Claude Opus 5.5 (AI)
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.

%TAG prefix does not accept all characters in ns-uri-char production

1 participant