XSLTFactoryLoader.setLogger(getLogger());
programGenerator = (ProgramGenerator)this.manager.lookup(ProgramGenerator.ROLE);
smap = (Sitemap)programGenerator.load(this.manager, this.sourceFileName, markupLanguage,
programmingLanguage, this);
if (this.sitemap != null) {
programGenerator.release((CompiledComponent)this.sitemap);
}
this.sitemap = smap;
// add the source factory for the cocoon protocol
this.sourceHandler.addFactory("cocoon", new CocoonSourceFactory(this.sitemap,
this.sitemap.getComponentManager()));