schemaDoc.fNamespaceSupport);
}
catch (XPathException e) {
// fall back to full XPath 2.0 support, with PsychoPath engine
try {
XPathParser xpp = new JFlexCupParser();
XPath xp = xpp.parse("boolean(" + test + ")");
testExpr = new Test(xp, typeAlternative, schemaDoc.fNamespaceSupport);
} catch(XPathParserException ex) {
reportSchemaError("c-cta-xpath", new Object[] { test }, altElement);
//if the XPath is invalid, create a Test without an expression
testExpr = new Test((XPath20) null, typeAlternative,