Commit 665df41dcc6c4c3a609907c979b6c16472593d0d

Nick Wellnhofer 2018-04-16T19:37:34

Simplify and harden nodeset filtering If a nodeset to be filtered is empty, it can be returned without popping it from the stack. Make sure to restore the context node in all error paths and never set it to NULL. Save and restore the context node in RANGETO operations.