I am using xmllint --schema option to validate my XML that looks like this
True
In my
xs:boolean is predefined with regard to what kind of input it accepts. If you need something different, you have to define your own enumeration:
xs:boolean