I'd like to open a discussion about improving the EXPath Package spec , which is used widely in the eXist community . Several areas are in need of improvement, from my perspective:
- The current version was written before Semantic Versioning 2.0  was released and should be updated to align with this standard.
- Dependency versioning constraints should be more flexible and expressive, accommodating notions like those used in other package managers like npm's "semver" .
- The current spec has no support for internationalization. It should be extended to support language-specific package titles, for example.
The spec would then need to be implemented.
On a somewhat related note, I have started an XQuery library for parsing, comparing, and sorting SemVer 2.0 version strings . If there is interest, it could be developed into a library that itself is distributed as an EXPath Package.
I would welcome your ideas as well as suggestions about how to approach this spec revision!