On Mon, 27 Oct 2008 20:11:20 +0100, Jon Ferraiolo <[EMAIL PROTECTED]>
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/