[Bug 24864] New: [xslt 3.0] Error codes XTDE0060 and XTDE0700

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

            Bug ID: 24864
           Summary: [xslt 3.0] Error codes XTDE0060 and XTDE0700
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

These two errors are:

[ERR XTDE0060] It is a dynamic error if the initial template defines a template
parameter that specifies required="yes" and no value is supplied for that
parameter.

[ERR XTDE0700] It is a dynamic error if a template that is invoked using
xsl:apply-templates, xsl:apply-imports, or xsl:next-match declares a template
parameter with required="yes" and no value for this parameter is supplied by
the calling instruction. The same error is reported in the case of a tunnel
parameter whether invoked using one of these three instructions or by
xsl:call-template, as explained in 10.1.2 Tunnel Parameters.

I propose that we fold XTDE0060 into XTDE0700.

In the past, XTDE0060 read 

[ERR XTDE0060] It is a non-recoverable dynamic error if the initial template
defines a template parameter that specifies required="yes".

We now allow template parameters to be supplied, so we changed the error
description. However, the absence of a required parameter is likely to be
detected in the same way regardless how the template was called, so it is
inconvenient to have to generate two different error codes depending how the
value was supplied.

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

Received on Friday, 28 February 2014 16:13:33 UTC