4 ms·
That seems like a pretty sensible approach - eliminates the "Norway problem" altogether. I'd guess you have to use the "%YAML 1.2" directive in all documents i
by hannibalhorn 6y ago
That seems like a pretty sensible approach - eliminates the "Norway problem" altogether. I'd guess you have to use the "%YAML 1.2" directive in all documents in order to get it though...
- anderskaseorg 6y agoYou don’t need this directive to get YAML 1.2 parsers to parse your document as YAML 1.2; that’s the default. You only need it to instruct YAML 1.1 parsers to raise a warning (and I guess for parsers of future version of YAML to fall back to 1.2 behavior, if that ever happens). https://yaml.org/spec/1.2/spec.html#id2781553 https://yaml.org/spec/1.2/spec.html#id2781553 https://yaml.org/spec/1.1/#id895631 https://yaml.org/spec/1.1/#id895631