[MOBY-dev] Valid boolean values for primitives and secondary parmeters
Pieter Neerincx
Pieter.Neerincx at wur.nl
Tue May 8 18:53:20 UTC 2007
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
------------------------------------------------------------
More information about the MOBY-dev
mailing list