While ComparableVersion considers non-Latin digits as numeric because it uses Character.isDigit(char), ComparableVersion is buggy, so I can’t take its code as a spec.
I’m making my own version parser that isn’t buggy; I want to ensure that I follow the intent rather than the existing code. On Wed, May 30, 2018 at 1:01 PM Michael Osipov <[email protected]> wrote: > Am 2018-05-30 um 18:16 schrieb Ross Goldberg: > > Are non-latin digits considered numeric for the Maven version order spec? > > > > Or should only latin (i.e. ASCII) digits be considered numeric? > > > > https://maven.apache.org/pom.html#Version_Order_Specification > > Have a look here: > > /maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java >
