W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2015

[Bug 28355] New: [XSLT30] (probably editorial) Unintended disappearance of XTDE0610 error

From: <bugzilla@jessica.w3.org>
Date: Fri, 27 Mar 2015 16:57:46 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28355-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28355

            Bug ID: 28355
           Summary: [XSLT30] (probably editorial) Unintended disappearance
                    of XTDE0610 error
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: minor
          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

That error had the following description:

[ERR XTDE0610] If an optional parameter has no select attribute and has an
empty sequence constructor, and if there is an as attribute, then the default
value of the parameter is an empty sequence. If the empty sequence is not a
valid instance of the required type defined in the as attribute, then the
parameter is treated as a required parameter, which means that it is a dynamic
error if the caller supplies no value for the parameter.

It disappeared between the public WD from 12-12-2013 and 10-02-2014. It seems
to have been the result of rearranging the 9.2 section as part of the
resolution of bug 25158, but I couldn't find this as a decision in either the
minutes or in that bug entry.

I think the error still makes sense, if not only for the fact that the error
was present in XSLT 2.0 as well. If we decide to (or have decided to) remove
it, we should probably explain what error has come in its place.

Please note that there are also still several tests around expecting this error
as an outcome, like error-610a and error-610b.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 27 March 2015 16:57:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:53 UTC