Bug #1738: expr_bool.y returns -1 if the type does not match
Bug #1738: Cleanup code using xpath | operator
Bug #1738: Compile parsers