// The following was copied from RuntimeBuilder to fix TUSCANY-3171
XMLInputFactory validatingInputFactory = modelFactories.getFactory(ValidatingXMLInputFactory.class);
documentBuilderFactory = modelFactories.getFactory(DocumentBuilderFactory.class);
//documentBuilderFactory.setNamespaceAware(true);
urlProcessors.getProcessor(Composite.class);
urlProcessors.addArtifactProcessor(new CompositeDocumentProcessor(staxProcessor, validatingInputFactory,
documentBuilderFactory, policyDefinitions, monitor));
// Create contribution processor
modelResolvers = extensionPoints.getExtensionPoint(ModelResolverExtensionPoint.class);
contributionProcessor = new ContributionContentProcessor(extensionPoints, monitor, policyDefinitionsResolver, policyDefinitions);