[ 
https://issues.apache.org/jira/browse/MNGSITE-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927501#comment-17927501
 ] 

Elliotte Rusty Harold edited comment on MNGSITE-441 at 2/16/25 1:01 PM:
------------------------------------------------------------------------

Looks like ppp is equal to PPP. Comparisons are case insensitive, at least for 
ASCII. Thus lexicopgraphic order is not true. Seems to be the case for Unicode 
too.


was (Author: elharo):
Looks like ppp is equal to PPP. Comparisons are case insensitive, at least for 
ASCII. Thus lexicopgraphic order is not true.

> Better define ordering of tokens in version comparison
> ------------------------------------------------------
>
>                 Key: MNGSITE-441
>                 URL: https://issues.apache.org/jira/browse/MNGSITE-441
>             Project: Maven Project Web Site (Moved to GitHub Issues)
>          Issue Type: New Feature
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> On [https://maven.apache.org/pom.html#Version_Order_Specification] we use the 
> terms " {{lexicographical order}}" and "alphabetical order". Neither is 
> defined, and they need to be.
> For example does "PPP" sort before, after, or the same as "ppp"? I don't know.
> Lexicographic order also has more than one reasonable definition: 
> [https://en.wikipedia.org/wiki/Lexicographic_order]
> Perhaps we can simply rewrite the version order section to not use these 
> terms as long as we're clear about what does happen.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to