Re: [ ACTION-107] Updating version list identifier algorithm

Hi Arve,
> Comparing version lists
...
> 2. Compare the list items n[p] and m[p] using a natural sort algoritm [1]

I've been reading over the Unicode Collation Algorithm (UCA) [1] and
I'm getting the feeling that requiring implementations to support UCA
(or something similar) would be overkill for version information:
localized strings comparison in an internationalized context gets
quite complicated as you would need to identify which language the
version information is written in, etc, to do it properly. It also
opens up a big can of worms about internationalization support for
just one minor area (versioning), and not for others
(resources/content adaptation).

Even though I originally pushed for having strings in the version
identifier, after reconsideration I think we should drop back to the
original proposal of just using non-negative integers delimited by a
"." (as Firefox, and Yahoo!'s Widget engine currently does):

eg. 0.1, 1.0, 1.101.03, etc

If people really want string-based versions lists (eg. "Version 1.0 -
(Beta1)"), we can probably add it in version 2 of the spec.

Any further thoughts?


[1] http://www.unicode.org/unicode/reports/tr10/
-- 
Marcos Caceres
http://datadriven.com.au

Received on Monday, 10 September 2007 07:48:24 UTC