<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26997</bug_id>
          
          <creation_ts>2014-10-08 08:20:38 +0000</creation_ts>
          <short_desc>[XSLT30] Package version ranges - EBNF error</short_desc>
          <delta_ts>2014-10-24 10:38:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XSLT 3.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="johnlumley">john</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>112816</commentid>
    <comment_count>0</comment_count>
    <who name="johnlumley">john</who>
    <bug_when>2014-10-08 08:20:38 +0000</bug_when>
    <thetext>The EBNF for the production

 VersionRanges          ::=  VersionRange S? &quot;,&quot; S? VersionRange

within the 2nd October Last Call Working draft (http://www.w3.org/TR/xslt-30/#package-versions) appears to require a pair of Version Ranges. I suspect the intent was:

 VersionRanges          ::=  VersionRange (S? &quot;,&quot; S? VersionRange)*

which was that suggested in https://www.w3.org/Bugs/Public/show_bug.cgi?id=26649 . There appears to be no other discussion of such a change in Bugzilla that I can find.

The current form cannot of course express a single package version requirement, save that it is &apos;doubled&apos; ;-).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112877</commentid>
    <comment_count>1</comment_count>
    <who name="johnlumley">john</who>
    <bug_when>2014-10-09 10:01:37 +0000</bug_when>
    <thetext>In addition, the production:

  VersionFromTo  ::=  PackageVersion S &quot;to&quot; S VersionPrefix   

does not correspond with the detailed examples in the subsequent bullet point:

  The range VersionFromTo matches any version that is greater than or equal
  to the starting PackageVersion, and less than or equal to some version that
  matches the VersionPrefix. For example, 1 to 5 matches 1.1,  2.1,  3.1,
  or 5.0 (but not 5.1), while 1 to 5.* matches all of these, plus versions
  such as 5.7.2 (but not 6.0 or 6.0-beta).

The first example uses PackageVersion as the &apos;to&apos; operand. I suspect the production should be:

  VersionFromTo  ::=  PackageVersion S &quot;to&quot; S (PackageVersion | VersionPrefix)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113336</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-10-16 16:51:10 +0000</bug_when>
    <thetext>Agreed, we should fix both these errors.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>