[MOBY-dev] Valid boolean values for primitives and secondary parmeters

Paul Gordon gordonp at ucalgary.ca
Tue May 8 19:05:31 UTC 2007


I agree.  I think we had this conversation a couple of years ago!  Time 
to put it in the spec...
> Hi Mobifiers,
>
> Currently the BioMOBY specification does not explicitly list what  
> values can be used for boolean primaries and secondaries. However for  
> optimal interoperability services need to know what values they can  
> expect from a client or the other way around clients need to be able  
> to figure out what input a service needs. Hereby I propose we stick  
> to the XML Schema specification for valid boolean values.
>
>  From the XML Schema spec (http://www.w3.org/TR/xmlschema-2/#dt- 
> boolean):
> "An instance of a datatype that is defined as boolean can have the  
> following legal literals {true, false, 1, 0}."
>
> This would mean that clients are not allowed to send anything besides  
> {true, false, 1, 0} as booleans and services must understand {true,  
> false, 1, 0}. Hence frequently used booleans as T, F, t, f, True,  
> False or biology specific booleans like male, female, M, F, XX, XY,  
> etc. will be value non-grata in mobi-lingua.
>
> Any additional suggestions or objections?
>
> Cheers,
>
> Pi
>
>
> -------------------------------------------------------------
> Wageningen University and Research centre (WUR)
> Laboratory of Bioinformatics
> Transitorium (building 312) room 1034
>
> Dreijenlaan 3
> 6703 HA Wageningen
> The Netherlands
>
> phone:  0317-483 060
> fax: 0317-483 584
> mobile: 06-143 66 783
> mail: pieter.neerincx at wur.nl
> skype: pieter.online
> ------------------------------------------------------------
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>
>
>   




More information about the MOBY-dev mailing list