Inconsistency in booleans: true/false and/or 1/0?

It seems that COLLADA-DOM only accepts true/false in booleans for example
<dynamic>false</dynamics>. However FCollada/FeelingViewer uses 1/0.

What is the rule here?

See also:
http://www.feelingsoftware.com/bugzilla … .cgi?id=81

------- Comment #1 from glaforte at feelingsoftware.com 2006-07-14 09:38 -------
I just ran a validator on the COLLADA 1.4.1 schema and there are, admitedly,
quite a few validation errors. They are mostly due to the ordering of nodes.
On the other hand: <dynamic>1</dynamic> is accepted, although not correctly
ordered in the rigid body.

according to xml schema

3.2.2 boolean

[Definition:] boolean has the ·value space· required to support the mathematical concept of binary-valued logic: {true, false}.
3.2.2.1 Lexical representation

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

I will have to make sure the DOM can handle both.

-Andy

Please note that “true” and “false” are case-sensitive.