W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2013

[Bug 23355] New: Predicate with position() in incrementally consuming expressions is not allowed

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 Sep 2013 15:58:12 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-23355-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23355

            Bug ID: 23355
           Summary: Predicate with position() in incrementally consuming
                    expressions is not allowed
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.online@xs4all.nl
        QA Contact: public-qt-comments@w3.org

The following expression is currently not streamable:

<xsl:for-each select="A/B[position() <= 10]">
    ...
</xsl:for-each>

the reason for it being not streamable is that position is focus dependent and
focus dependent functions make the whole expression free ranging. It seems
reasonable to relax that rule for position().

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 25 September 2013 15:58:18 UTC

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