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

[Bug 25000] New: [XSLT 3.0] Map expression with empty sequence as key should be type error

From: <bugzilla@jessica.w3.org>
Date: Tue, 11 Mar 2014 00:13:00 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-25000-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25000

            Bug ID: 25000
           Summary: [XSLT 3.0] Map expression with empty sequence as key
                    should be type error
           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

When a map expression has a key that evaluates to an empty sequence, we say:

Each KeyExpr expression is evaluated and atomized; a dynamic error occurs if
the result is not a single atomic value.

It should be a type error not a dynamic error.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 11 March 2014 00:13:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:55 UTC