/src/main/java/org/htmlunit/html/xpath/XPathHelper.java
else if ( result > XBoolean) {
else if ( result instanceof XBoolean ) {
list.add((T) nodelist.item(i)); } } else if (result instanceof XNumber) { list.add((T) Double.valueOf(result.num())); } <extra_id_0> list.add((T) Boolean.valueOf(result.bool())); } else if (result instanceof XString) { list.add((T) result.str()); } else {