input = new LSInputImpl(schemaText);
}
// Uses Xerxes internal classes
DOMImplementationRegistry registry = DOMImplementationRegistry.newInstance();
registry.addSource(new DOMXSImplementationSourceImpl());
Object xsImplementation = registry.getDOMImplementation("XS-Loader");
if (xsImplementation == null) {
throw new ConfigurationException("Failed to retrieve XS-Loader implementation from registry obtained via DOMImplementationRegistry.newInstance, please check that registry.getDOMImplementation(\"XS-Loader\") returns an instance");
}
if (!JavaClassHelper.isImplementsInterface(xsImplementation.getClass(), XSImplementation.class)) {