Test files › Structured data › norway-problem.yaml
Sample YAML file
YAML 1.1 implicit-typing traps: unquoted NO becomes false, unquoted YES becomes true, version strings become floats, and leading-zero values parse as octal.
↓ Download norway-problem.yaml| Filename | norway-problem.yaml |
| Format | YAML |
| Size | 161 bytes (161 bytes) |
| MIME type | application/yaml |
| SHA-256 | 17ba9fa29d8d1969a11d0f7ca1bce8c25a8421d2b0397b5ecc68616fe033332b |
What this file catchesThe famous "Norway problem" - a country list where NO silently becomes boolean false. Also catches version: 1.10 collapsing to 1.1. Parsers on YAML 1.2 core schema behave differently, so this file also reveals which spec version your library actually implements.
Download & verify
curl -fsSL -o "norway-problem.yaml" "https://files.hexaqa.com/yaml/norway-problem.yaml"
curl -fsSL "https://files.hexaqa.com/yaml/norway-problem.yaml" | sha256sum
# expect: 17ba9fa29d8d1969a11d0f7ca1bce8c25a8421d2b0397b5ecc68616fe033332b