Re: Maven Version Order Spec: Implicit Initial Separator and Trimming

Elliotte Rusty Harold <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <CAGhczrpjHJ_NQG_MmcM7TpvQ2X+h1PUWoxFCenWTdhUO=Kphmg@mail.gmail.com>
> So to recap, had three questions:
>
> 1) should versions be treated as if there's an implicit separator?
> 2) how should trimming/tokenization work for "--1--" and "--1-"?
> 3) how should trimming/tokenization work for "abc" and "-abc"?


Trimming and tokenization are implementation details and are not
guaranteed. What's guaranteed is how version strings compare to each
other. If you ask how two specific version strings compare to each
other, then the spec should answer your question. If it doesn't,
that's a spec bug.


-- 
Elliotte Rusty Harold
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.