inPred.create("//a/h", null, wrap(new Object[]{"a", "b", "c", "d"}))
);
System.out.println("Generated filter string: "+input);
MessageFilter ef = null;
try {
ef = MessageFilterCompiler.compile(input);
} catch (InvalidFilterException e) {
throw new AssertionError("Invalid filter string generated. Error: " + e.getMessage());
}