[Bug 3733] [XPath] reorder rules in Node Comparisons

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3733

           Summary: [XPath] reorder rules in Node Comparisons
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XPath
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: andrew.eisenberg@us.ibm.com
         QAContact: public-qt-comments@w3.org


In http://www.w3.org/Bugs/Public/show_bug.cgi?id=3699, it was suggested that
bullets 2 and 3 be swapped in section 3.5.3, Node Comparisons. This section now
reads as follows:

"The result of a node comparison is defined by the following rules:

1. The operands of a node comparison are evaluated in implementation-dependent
order.

2. Each operand must be either a single node or an empty sequence; otherwise a
type error is raised [err:XPTY0004].

3. If either operand is an empty sequence, the result of the comparison is an
empty sequence, and the implementation need not evaluate the other operand or
apply the operator. However, an implementation may choose to evaluate the other
operand in order to determine whether it raises an error.

4. ..."

As written, the commentor thought that we might intend that "() is 100" be
required to raise XPTY0004.

Received on Friday, 15 September 2006 19:39:22 UTC