factory.setErrorListener(errorListener);
sfactory.setErrorListener(errorListener);
String testURI = "http://www.w3.org/2005/05/xslt20-test-catalog";
int testCaseFP = pool.allocate("", testURI, "testcase") & NamePool.FP_MASK;
NameTest testCaseNT = new NameTest(Type.ELEMENT, testCaseFP, pool);
NameTest nameNT = elementNameTest(pool, "name");
NameTest inputNT = elementNameTest(pool, "input");
NameTest outputNT = elementNameTest(pool, "output");
NameTest stylesheetNT = elementNameTest(pool, "stylesheet");
NameTest schemaNT = elementNameTest(pool, "schema");
NameTest initialModeNT = elementNameTest(pool, "initial-mode");
NameTest entryNamedTemplateNT = elementNameTest(pool, "entry-named-template");
NameTest sourceDocumentNT = elementNameTest(pool, "source-document");
NameTest stylesheetParametersNT = elementNameTest(pool, "stylesheet-parameters");
NameTest paramNT = elementNameTest(pool, "param");
NameTest resultDocumentNT = elementNameTest(pool, "result-document");
NameTest errorNT = elementNameTest(pool, "error");
NameTest validationNT = elementNameTest(pool, "validation");
NameTest discretionaryItemsNT = elementNameTest(pool, "discretionary-items");
NameTest discretionaryFeatureNT = elementNameTest(pool, "discretionary-feature");
NameTest discretionaryChoiceNT = elementNameTest(pool, "discretionary-choice");
NameTest initialContextNodeNT = elementNameTest(pool, "initial-context-node");
NameTest optimizationNT = elementNameTest(pool, "optimization");
int fileAtt = pool.allocate("", "", "file") & NamePool.FP_MASK;
int errorIdAtt = pool.allocate("", "", "error-id") & NamePool.FP_MASK;
int typeAtt = pool.allocate("", "", "type") & NamePool.FP_MASK;