[Bug 29355] Modernize sequence filtering

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

--- Comment #7 from Benito van der Zander <benito@benibela.de> ---
Or perhaps the problem was a conflict with A[child] to check for the existence
of children.

If you had an XPath/XQuery preprocessor and a standard interpreter, you could
change every occurrence of A[B] to  A[let $b := B return if (count($b) le 1 or
head($b) instance of node()) then $b else position() = $b ] which should give a
reasonable, well-defined modernized behaviour.

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

Received on Monday, 11 January 2016 18:55:32 UTC