[Bug 28368] New: [XSLT30] Clarify that circularity errors in variables or keys cannot be caught with try/catch

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28368

            Bug ID: 28368
           Summary: [XSLT30] Clarify that circularity errors in variables
                    or keys cannot be caught with try/catch
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

As an example, if we were to allow catching this error, it is not clear whether
the following would yield CAUGHT or STUMPED:

<xsl:variable name="t">
 <xsl:try>
   <xsl:value-of select="$u" />
   <xsl:catch errors="err:XTDE0640">
     CAUGHT
   </xsl:catch>
 </xsl:try>
</xsl:variable>

<xsl:variable name="u">
 <xsl:try>
   <xsl:value-of select="$t" />
   <xsl:catch errors="err:XTDE0640">
     STUMPED
   </xsl:catch>
 </xsl:try>
</xsl:variable>

Hence it makes sense to disallow catching the dynamic error XTDE0640.

The preceding discussion on this bug and origin of example can be found in the
mail archive (member only)
* https://lists.w3.org/Archives/Member/w3c-xsl-wg/2015Mar/0067.html
* https://lists.w3.org/Archives/Member/w3c-xsl-wg/2015Mar/0068.html

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 29 March 2015 19:16:53 UTC