private int fNumTests = 0;
public boolean fGenerate;
public PrintStream fLogStream;
public Test() throws XNIException {
XMLParserConfiguration parserConfig = new XIncludeParserConfiguration();
parserConfig.setFeature(NAMESPACES_FEATURE_ID, true);
parserConfig.setFeature(SCHEMA_VALIDATION_FEATURE_ID, true);
parserConfig.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, true);
fWriter = new Writer(parserConfig);
// this has to be done AFTER fWriter is created
parserConfig.setProperty(ERROR_HANDLER, this);
fGenerate = false;
// squelch output by default
fLogStream = DEFAULT_LOG_STREAM;