if (descriptor == null) {
throw new ConfigurationException("The form descriptor is not set!");
}
ConfigurationHelper conf = null;
synchronized (XSPFormValidatorHelper.configurations) {
Source source = null;
try {
source = resolver.resolveURI(descriptor);
conf = (ConfigurationHelper) XSPFormValidatorHelper.configurations.get(source.getURI());
if (conf == null || (reloadable && conf.lastModified != source.getLastModified())) {
logger.debug("(Re)Loading " + descriptor);
if (conf == null) {
conf = new ConfigurationHelper();
}
SAXConfigurationHandler builder = new SAXConfigurationHandler();
SourceUtil.toSAX(source, builder);