Description
Implementation of DefaultLocalName.compareTo(GenericName) in SIS 0.3 compares the name components in a case-insensitive way, using String.compareToIgnoreCase(String). However it has the following inconvenient:
- Slightly slower than String.compareTo(String).
- Increase the inconsistency with equals(Object).
- May be more suprising to the developer (in particular, it causes AbstractName.compareTo(String) to be also case-insensitive).
- Result in unsatisfactory ordering for certain locales anyway (we are supposed to use java.text.Collator instead).
We should revert to the more standard case-sensitive comparison.