W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2015

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 17 Mar 2015 13:11:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28215-523-VLb7A57fC7@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:53 UTC