For reference:
http://yaml.org/type/bool.html
The specification clearly states that the strings 'n', 'N', 'y' and
'Y' are to be resolved as booleans and accepted as booleans, and that
the canonical format of a boolean is either 'y' or 'n'. SnakeYaml does
not resolve these values to !!bool, and if the value is explicitly
tagged !!bool, then it will emit an error (incorrectly).
For example, the following is a valid YAML 1.1 document:
---
awesome: !!bool y
...
but SnakeYaml disagrees, giving the message "The document is not valid
YAML".
I don't know whether the specification _should_ be followed in this
case. The reason it shouldn't be followed is that it is reasonable to
expect that a lot of Java objects will have coordinate parameters
(x,y,z), and that the 'y' coordinate key node would then implicitly
resolve to !!bool, despite the document looking like a set of
coordinate values.
On the other hand, SnakeYaml already has workarounds in place to allow
implicitly-resolved integers (123) to be used as property names
(set123, get123), so it's possible that a workaround would be the best
choice here too.