validationInfo = SchemaValidator.validate(new XMLInputSource(null, uri, null));
}
} catch (Exception e) {
throw new RegistryException("Exception occured while validating the schema" , e);
}
SchemaProcessor schemaProcessor =
new SchemaProcessor(requestContext, validationInfo);
String savedName = schemaProcessor
.importSchemaToRegistry(requestContext, path,
getChrootedLocation(requestContext.getRegistryContext()), true);
String parentPath = RegistryUtils.getParentPath(requestContext.getResourcePath().getPath());