This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
This test expects XPTY0019 but I think it can equally well raise XPTY0018. The test is of the form $a/f(.)/x where f(.) sometimes returns a node and sometimes returns an atomic value. So there are two errors: the RHS of the first "/" operator is a mix of nodes and atomic values; and the LHS of the second "/" operator is not all nodes; hence two possible error codes, depending on which is detected first.
ACTION A-664-01: O'Neil to resolve the bug as suggested in comment 0
Resolved bug according to comment #0