You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Marc Tremblay <ma...@wmode.com> on 2002/04/30 19:05:21 UTC

[PATCH] Boolean value interpretation for null values.

Here's the patch Dave referred to previously (see "RE: do an Apache SOAP 2.3
release ?" 4/26/2002 in soap-dev).

It allows xsi:null="1" and xsi:null="true" to be properly handled by
refactoring the 0/1/true/false handling code in BooleanDeserializer into a
new method in SoapEncUtils called decodeBooleanValue.  The SoapEncUtils
isNull method and the BooleanDeserializer unmarshall method both use this
new method for parsing boolean values.

-- Marc