<?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>24334</bug_id>
          
          <creation_ts>2014-01-20 17:10:31 +0000</creation_ts>
          <short_desc>[XT3TS] Streaming tests for try/catch</short_desc>
          <delta_ts>2015-05-06 21:14:44 +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 Test Suite</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="Abel Braaksma">abel.online</assigned_to>
          <cc>abel.braaksma</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>98780</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-01-20 17:10:31 +0000</bug_when>
    <thetext>The tests in strm/si-try are written in the mistaken belief that the specification allows try/catch to be streamable. The current (Dec 2013) spec does not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98941</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-01-23 12:50:40 +0000</bug_when>
    <thetext>The current draft says, about xsl:try:

&quot;If the select expression and/or sequence constructor of the xsl:catch element are motionless, then the sweep of the select expression and/or sequence constructor of the xsl:try element (whichever is present);&quot;

In other words, if &lt;xsl:catch select=&quot;motionlessexpr&quot; /&gt;, then the body of the xsl:try is streamable, otherwise it is ree-ranging. 

Going over the tests it seems that all tests are written with xsl:catch having a grounded and motionless expression, meaning that the streamability of the xsl:try body applies. From what I glanced over, it looks like they are written correctly.

I&apos;m not sure where in the spec it should say that this is non-streamable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111501</commentid>
    <comment_count>2</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-09-15 02:51:21 +0000</bug_when>
    <thetext>Meanwhile, the try/catch and its streamability features have received quite some discussion in the working group and many changes have been applied to the spec to accommodate streamable try/catch using the new @rollback-output attribute (see https://www.w3.org/XML/Group/qtspecs/specifications/xslt-30/html/Overview.html#recovery, members only).

I will move forward and close this bug report, it seems to have been taken over by events, but feel free to reopen if I&apos;m mistaken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120160</commentid>
    <comment_count>3</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2015-05-06 21:14:44 +0000</bug_when>
    <thetext>Was resolved &gt; 30 days ago, closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>