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