Boolean

XML Schema: An instance of a datatype that is defined as ·boolean· can have the following legal literals {true, false, 1, 0}.

Java: Allocates a Boolean object representing the value true if the string argument is not null and is equal, ignoring case, to the string “true”. Otherwise, allocate a Boolean object representing the value false.

So, 1 is false.

Oops.