PureYAML/Tests/Fixtures
Mihaela Mihaljevic b5129d71ee fix(parsing): reject misplaced directives, refresh suite manifest
Directives apply to the document that follows, so the previous document
must be closed with an explicit '...' end marker before them. After an
implicit end, a '%YAML'/'%TAG'/reserved directive is now rejected instead
of being silently accepted. Also reject a '%YAML' version trailed directly
by '#' with no separating space ('%YAML 1.1#...'), since a comment needs
leading separation; libyaml accepts both.

This restores reject-side conformance the suite manifest recorded as
passing but the libyaml port had dropped (9HCY, EB22, MUS6/00, MUS6/01,
RHX7), and updates the two PureYAML gap-error fixtures whose rejection now
fires earlier and more precisely at the misplaced directive.

Refresh yaml-test-suite-manifest.yaml to version 3: whole-suite
conformance is 384/402 (up from the recorded 331); 53 cases still marked
as gaps now pass, none regress.
2026-06-24 19:51:39 +02:00
..
acme test(corpus): add remaining acme catalog fixtures 2026-06-06 08:16:37 +02:00
real-yaml test(corpus): add public real yaml seeds 2026-06-06 08:24:12 +02:00
validation-failures Harden parser against real YAML fixtures 2026-06-05 19:34:30 +02:00
yaml-test-suite feat(parsing): add authoritative canonical-event conformance gate 2026-06-24 01:24:24 +02:00
MANIFEST.md test(corpus): add real yaml corpus manifest 2026-06-06 08:03:21 +02:00
real-yaml-corpus.yaml test(corpus): add real yaml corpus manifest 2026-06-06 08:03:21 +02:00
yaml-test-suite-manifest.yaml fix(parsing): reject misplaced directives, refresh suite manifest 2026-06-24 19:51:39 +02:00