[Bug 24378] New: xsl:on-empty on more instructions

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

            Bug ID: 24378
           Summary: xsl:on-empty on more instructions
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

This was briefly mentioned in [1] and discussed earlier at the July 11, 2013
telcon [2]. The idea was to extend xsl:on-empty at least to all
node-construction instructions for reasons of usability and orthogonality. 

Other conclusions from that mail:

(a) the expression in the on-empty attribute must be type-consistent with the
instruction it appears on. For example, on an LRE the on-empty expression must
return an element or nothing.

(b) specifically on xsl:copy, the condition should be based on the emptyness of
the constructed element/document, not the emptiness of the selected
element/document

This is also relevant to related bugs bug-24142 and bug-24140.

[1] https://lists.w3.org/Archives/Member/w3c-xsl-wg/2014Jan/0004.html
[2] https://lists.w3.org/Archives/Member/w3c-xsl-wg/2013Jul/0060.html (minutes)

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

Received on Thursday, 23 January 2014 22:56:08 UTC