Re: hasFeature continued

Arnold, Curt writes:
 > Maybe:
 > 
 > This is the version number of the feature to test. In Level 2, the
 > string can be either "2.0" or "1.0". If the version is an empty
 > string (or a null string when the value space of the string type
 > contains such a value), supporting any version of the feature
 > causes the method to return true.

  For the second sentence, why not:

	If the version is an empty string or null, supporting any
	version of the feature causes the method to return true.

  This expresses the possible values in terms of IDL; if the IDL
mapping for a language doesn't support the null value, there's no
loss, and there's no need for convoluted language in the general
portion of the specification.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations

Received on Thursday, 12 July 2001 17:18:14 UTC