Binding of an xs:boolean attribute in an XML file to a form with an
fd:booleanfield does not work as I would expect it to.

For an attribute a of type xs:boolean, I would expect:

a="true" or a="1" to set the checkbox.
a="false" or a="0" or the absence of an a attribute to unset the
checkbox.
Anything else to signal a validation error.

I find that setting the a attribute to ANYTHING AT ALL (even the empty
string!) sets the checkbox, and only the absence of the attribute
unsets it.

Is this the proper behaviour? 
-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to