if (test instanceof Literal) {
Value testVal = ((Literal)test).getValue();
// condition known statically, so we only need compile the code if true.
// This can happen with expressions such as test="function-available('abc')".
try {
if (testVal.effectiveBooleanValue()) {
return compileSequenceConstructor(exec, decl, iterateAxis(Axis.CHILD));
// Block block = new Block();
// block.setLocationId(allocateLocationId(getSystemId(), getLineNumber()));
// compileChildren(exec, block, true);
// return block.simplify(getStaticContext());