<?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>24763</bug_id>
          
          <creation_ts>2014-02-21 14:42:40 +0000</creation_ts>
          <short_desc>[xslt3.0] Error XTSE0630: duplicate global variable names, etc.</short_desc>
          <delta_ts>2014-05-15 14:00:46 +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>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</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>101107</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-21 14:42:40 +0000</bug_when>
    <thetext>Error XTSE0630 (section 9.5) should only ban duplicate variable names within a package, not within the whole stylesheet. Also affects the paragraph preceding the error description.

Other places where the text needs to be adjusted because names are now scoped to a package include:

10.3 &quot;can be called from any XPath expression used in the stylesheet&quot;

XTSE0650 should say &quot;if a package contains&quot; rather than &quot;if a stylesheet contains&quot;, because static errors must be detectable while processing a package in isolation.

XTSE0710: &quot;any xsl:attribute-set declaration in the stylesheet.&quot; -&gt; should talk about declarations visible in the package. 

XTSE1222: &quot;in the stylesheet&quot; -&gt; in the same package.

XTSE1520: &quot;in-scope schema components for the stylesheet&quot; -&gt; &quot;for the package&quot;.

XTSE1580: &quot;If the stylesheet contains&quot; -&gt; &quot;If a package contains&quot;.

XTSE1590: &quot;in the stylesheet&quot; -&gt; in the same package.

XTSE1550, XTSE1560: &quot;if the stylesheet includes&quot; -&gt; if a package includes.

XTSE3430: stylesheet -&gt; package.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104356</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-04-24 15:02:15 +0000</bug_when>
    <thetext>The references to error 1550 and 1560 should read 1650 and 1660.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104357</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-04-24 15:06:22 +0000</bug_when>
    <thetext>I have deemed this editorial and have fixed the identified sections accordingly.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>