getParameters: now properly handles boolean values, returns logical values

NB: legal literals for booleans are {true, false, 0,1 }
    cf. http://www.w3.org/TR/xmlschema-2/#boolean