compiler.addTagLibrary(new CoreLibrary());
compiler.addTagLibrary(new HtmlLibrary());
if (config.isStrictJsf2FaceletsCompatibility())
{
compiler.addTagLibrary(new LegacyUILibrary());
compiler.addTagLibrary(new LegacyJstlCoreLibrary());
compiler.addTagLibrary(new LegacyJstlCoreLibrary(JstlCoreLibrary.ALTERNATIVE_NAMESPACE));
}
else
{
compiler.addTagLibrary(new UILibrary());
compiler.addTagLibrary(new JstlCoreLibrary());