String validationMode, boolean recoverRecoverable, String assertion) throws XPathException {
StreamResult sr = new StreamResult(new File(out));
TransformerFactory f;
if (noCacheTests.contains(testName) || testName.startsWith("schemaas20") ||
testName.startsWith("striptype20") || testName.startsWith("notation20")) {
f = new EnterpriseTransformerFactory();
EnterpriseConfiguration sconfig = new EnterpriseConfiguration();
sconfig.setNamePool(factory.getConfiguration().getNamePool());
((EnterpriseTransformerFactory)f).setConfiguration(sconfig);
f.setAttribute(FeatureKeys.XSLT_SCHEMA_AWARE, true);
} else {