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

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