Peter Royal wrote:

>Any opposition to modifying AbstractConfiguration.get*AsBoolean methods to 
>recognize any valid XML Schema Boolean datatype? 
>(http://www.w3.org/TR/xmlschema-2/#boolean)
>
>What's the impact? 
>
>Recognizing the literals 1 as true and 0 as false. 
>
>If no objections I will patch, but I wanted to check before modifying 
>framework.
>-peter
>
>  
>

Could I suggest extending this to any of the followging values converted 
to either uper or lowercase

for true:

    "true"
    "yes"
    "on"
    "1"

for false:

   "false"
   "no"
   "off"
   "0"

Cheers, Steve.


-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:[EMAIL PROTECTED]
http://www.osm.net




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

Reply via email to