protected void configureEntityResolver() throws ConfigurationException
{
if (getMaxIndex(KEY_ENTITY_RESOLVER) == 0)
{
XMLBeanDeclaration decl = new XMLBeanDeclaration(this, KEY_ENTITY_RESOLVER, true);
EntityResolver resolver = (EntityResolver) BeanHelper.createBean(decl, CatalogResolver.class);
BeanHelper.setProperty(resolver, "fileSystem", getFileSystem());
BeanHelper.setProperty(resolver, "baseDir", getBasePath());
BeanHelper.setProperty(resolver, "substitutor", getSubstitutor());
setEntityResolver(resolver);