PureYAML/docs
Mihaela Mihaljevic 1de1fcf2a8 fix(parsing): reject invalid input that was wrongly accepted
Tighten error detection per the YAML 1.2 spec across four rules: (1) a tab may never supply block-structure indentation (line-start indentation, block-scalar indentation, and separation before a nested block node are rejected; a tab separating an indicator from a scalar value stays valid); (2) a ---/... document marker inside an open quoted scalar or flow collection is rejected instead of silently ending the document; (3) a %YAML/%TAG line that opens a second explicit document with no intervening ... is rejected; (4) an anchor cannot be attached to an alias node.

This repairs 4 of the 5 error-detection regressions introduced by buckets 3-5 (MUS6/01, N782, SU74, Y79Y/009); 9MQT/01 is deferred (its invalidity is in same-line content after the --- marker, which needs document-content scanning that risks the baseline). Rejects 13 accepted-invalid suite cases and fixes 2 more by value (6BCT, Y79Y/010); 305/402 passing.

BEHAVIOR CHANGE: tab-indented block structure (previously parsed permissively) is now rejected per spec; no real-world corpus seed relied on this. Updates the manifest, fixtures, counts, two affected tests (with spec justification), and the roadmap (bucket 6 marked PARTIAL).
2026-06-23 22:13:35 +02:00
..
releases feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
rules ci: use checkout action with node 24 2026-06-06 00:32:53 +02:00
CONVENTIONS.md test(coding): add sequence fixtures and contract gate 2026-06-05 12:33:09 +02:00
CORPUS.md feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
DESIGN.md feat(emitting): dump YAML streams 2026-06-05 17:14:41 +02:00
MIGRATION.md fix(ci): prepare 0.1.0 release 2026-06-05 21:20:20 +02:00
RELEASE.md feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
USAGE.md docs(release): prepare 0.1.1 2026-06-06 00:28:38 +02:00
YAML_TEST_SUITE_CONFORMANCE.md fix(parsing): reject invalid input that was wrongly accepted 2026-06-23 22:13:35 +02:00