// now look for other optional attributes like test and xpathDefaultNamespace
if (test != null) {
Test testExpr = null;
//set the test attribute value
try {
testExpr = new Test(new XPath20(test, fSymbolTable, schemaDoc.fNamespaceSupport),
typeAlternative,
schemaDoc.fNamespaceSupport);
}
catch (XPathException e) {
// fall back to full XPath 2.0 support, with PsychoPath engine