<?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>24548</bug_id>
          
          <creation_ts>2014-02-06 00:11:01 +0000</creation_ts>
          <short_desc>Vague wording about suppressing errors in global variables when priming a stylesheet</short_desc>
          <delta_ts>2014-02-16 19:51:45 +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>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>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abel Braaksma">abel.braaksma</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>cmsmcq</cc>
          
          <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>99860</commentid>
    <comment_count>0</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-02-06 00:11:01 +0000</bug_when>
    <thetext>Under 2.3.2 Priming a Stylesheet (http://www.w3.org/TR/xslt-30/#priming-stylesheet), the second paragraph under the second bullet point, the text reads (about initial context items and errors during priming):

&quot;The error can be suppressed by use of xsl:try and xsl:catch within the initialization of the variable or parameter.&quot;

I think it is the reverse: it can be suppressed when the initialization code is wrapped inside an xsl:try and xsl:catch block.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100471</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2014-02-13 09:13:00 +0000</bug_when>
    <thetext>We discussed this in Prague and concluded that the existence of the issue report demonstrates that the text is susceptible to misinterpretation; editor to recast.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100719</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-02-16 19:51:45 +0000</bug_when>
    <thetext>The text has been changed to read:

The error can be suppressed by use of &lt;elcode&gt;xsl:try&lt;/elcode&gt; and &lt;elcode&gt;xsl:catch&lt;/elcode&gt; within the sequence constructor used to initialize the variable or parameter. (It cannot be suppressed by use of &lt;elcode&gt;xsl:try&lt;/elcode&gt; around a reference to the global variable.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>