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

[Bug 27682] New: [xslt30] Template rules in modes apply to any item, not only nodes

From: <bugzilla@jessica.w3.org>
Date: Sun, 21 Dec 2014 21:10:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-27682-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27682

            Bug ID: 27682
           Summary: [xslt30] Template rules in modes apply to any item,
                    not only nodes
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          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

Dimitre Novachev correctly points out on xsl-list:

In section "6.6 Modes" of the 2nd Last Call of the W3C XSLT 3.0
specification (http://www.w3.org/TR/2014/WD-xslt-30-20141002/#modes)
we read:

"[Definition:  Modes allow a node in a source tree to be processed
multiple times, each time producing a different result. They also
allow different sets of template rules to be active when processing
different trees, for example when processing documents loaded using
the document function (see 20.1 fn:document) or when processing
temporary trees".

This is true, but the definition mentions only processing "a node" and
leaves out the fact that a mode may contain templates that match an
atomic item or a function.

In the whole text throughout this section, only processing of nodes is
mentioned and this leaves the perception that it isn't allowed for a
mode to contain templates that match non-node items.

....
-- 
Cheers,
Dimitre Novatchev

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Sunday, 21 December 2014 21:10:41 UTC

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