@Override
public List<FacesConfig> getApplicationConfigurationResourceDocumentPopulatorFacesConfig(ExternalContext ectx)
{
ServiceProviderFinder spff = ServiceProviderFinderFactory.getServiceProviderFinder(ectx);
ServiceLoader<ApplicationConfigurationPopulator> instances =
spff.load(ApplicationConfigurationPopulator.class);
if (instances != null)
{
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
// namespace aware
factory.setNamespaceAware(true);