[Bug 28215] [XSLT30] EBNF for versions incomplete for VersionTo production and ambiguous explanation for VersionPrefix

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28215

--- Comment #2 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
There's another important bug with versions, it seems not possible to use
single versions in a version range, as in package-version="1.0", or a range, as
in package-version="1.2, 1.4, 1.6".

One way to fix this is to allow PackageVersion in the VersionRange production:

VersionRange  ::=  PackageVersion | VersionPrefix | VersionFrom | VersionTo |
VersionFromTo


Also, it appears slightly ambiguous whether a version range follows the
production rules of PackageVersion *or* PackageVersionRange, or whether it
follows the production of only PackageVersionRange. I think the latter is
meant. The relevant text is in 3.6.2. Dependencies between Packages, 6th para:

<quote>
The value of the package-version attribute, if present, must conform to the
rules for a version range given in 3.6.1 Versions of a Package;
</quote>

A fix could be to write instead:

<proposal>
The value of the package-version attribute, if present, must conform to the
production of PackageVersionRange and the rules for such version range given in
3.6.1 Versions of a Package;
</proposal>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 17 March 2015 13:11:47 UTC