[Bug 24501] New: In General streamability, the maximum cardinality rule is ambiguous

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

            Bug ID: 24501
           Summary: In General streamability, the maximum cardinality rule
                    is ambiguous
           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

Under 19.8.1 General Rules for Streamability
(http://www.w3.org/TR/xslt-30/#general-streamability-rules), item 2.d.iii, we
say the following:

"If the posture of o is crawling and C is a function call of a function whose
signature indicates a return type with a maximum cardinality of one (for
example a call on head or exactly-one), then striding and the adjusted sweep of
o."

This rule can only be applicable to built-in functions, or potentially
extension functions of which the processor knows how they can be applied. For
stylesheet functions, passing a node to a function without atomizing it is not
allowed.

I think it is best if we simply list the group of "functions with cardinality
one" to avoid confusion.

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

Received on Wednesday, 5 February 2014 03:02:29 UTC