documentProcessors.addArtifactProcessor(new ConstrainingTypeDocumentProcessor(staxProcessor, inputFactory));
// Create contribution package processor extension point
PackageTypeDescriberImpl describer = new PackageTypeDescriberImpl();
PackageProcessorExtensionPoint packageProcessors = new DefaultPackageProcessorExtensionPoint();
PackageProcessor packageProcessor = new ExtensiblePackageProcessor(packageProcessors, describer);
registry.addExtensionPoint(packageProcessors);
// Register base package processors
packageProcessors.addPackageProcessor(new JarContributionProcessor());
packageProcessors.addPackageProcessor(new FolderContributionProcessor());