protected void setUp() throws Exception {
setUp(catalogFile.toURI(), repoDir.toURI());
}
protected void setUp(URI catalogFileURI, URI docDirectoryURI) throws Exception {
resolver = new LocalEntityResolver(catalogFileURI, docDirectoryURI, true);
parserFactory = new ParserFactoryImpl(resolver);
parser = parserFactory.getParser();
}