defaultProperties = new Hashtable();
Enumeration defaultPropertiesDef =
config.getConfigurations("default-property");
try {
while (defaultPropertiesDef.hasMoreElements()) {
Configuration defaultProperty =
(Configuration) defaultPropertiesDef.nextElement();
String name = defaultProperty.getAttribute("name");
String value = defaultProperty.getAttribute("value", "");
String propertyNamespace = defaultProperty.getAttribute
("namespace", NodeProperty.DEFAULT_NAMESPACE);
String role = defaultProperty.getAttribute("role");
addDefaultProperty(role, name, value, propertyNamespace);
}
} catch (ConfigurationException e) {
throw new InvalidNamespaceConfigurationException
(namespace, e.getMessage());