YAML 1.2 §6.8.1 requires a reserved directive (anything other than %YAML or %TAG) to be ignored with a warning, and a document whose minor version is newer than 1.2 to be parsed with a warning. libyaml rejects both. The scanner now drops a reserved directive's whole line and emits no token, and the parser accepts any major-version-1 document. Canonical event conformance: 253 -> 258 of 308 (2LFX, 6LVF, MUS6/05, MUS6/06, BEC7). 333 tests pass. |
||
|---|---|---|
| .. | ||
| Coding | ||
| Decoding | ||
| Emitting | ||
| Encoding | ||
| Model | ||
| Parsing | ||
| Stream | ||
| Tagged | ||
| Validation | ||
| API.swift | ||
| PureYAML.swift | ||