W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

Re: [widgets] Version string

From: Arve Bersvendsen <arveb@opera.com>
Date: Mon, 27 Oct 2008 22:09:26 +0100
To: "Jon Ferraiolo" <jferrai@us.ibm.com>, public-webapps <public-webapps@w3.org>
Cc: "Marcos Caceres" <marcosscaceres@gmail.com>, "Thomas Roessler" <tlr@w3.org>
Message-ID: <op.ujpbpyxobyn2jm@galactica>

On Mon, 27 Oct 2008 20:11:20 +0100, Jon Ferraiolo <jferrai@us.ibm.com>  
wrote:

> We came up with an approach at OpenAjax Alliance for version strings  
> where the string must begin with N.N (or N.N.N or N.N.N.N) but can  
> contain arbitrary alpha text after the number value. Then we defined how  
> to do numeric comparisons between the leading numeric parts of two  
> different version strings.

So, you are allowing something like

   2.6.27.4-foo3

and

   2.6.27.4-foo4

or
   1.2.3.gcc4.qt3
   1.2.3.gcc4.qt4

Is any judgment whether one version in these cases is newer than the  
other? If so, which is newer of the following?

1.2.☺
1.2.☻

-- 
Arve Bersvendsen

Developer, Opera Software ASA, http://www.opera.com/
Received on Monday, 27 October 2008 21:10:17 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:28 GMT