Subject: | Did not manage to use data type //bool with YAML document |
The validation of the //bool type does not seem to work when using a
YAML input document.
With the following simple schema:
%YAML 1.1
---
type: //rec
required:
abool: //bool
there seems to be no way of creating a valid document. I tried:
%YAML 1.1
---
abool: true
and replaced true with T, t, 1, ... without success. The result is always:
Failed type: found value was not a bool (error: type at $data->{abool})