} catch (RegistryException e) {
String msg =
"Error in getting the content for the artifact. artifact id: " + id + ", " +
"path: " + path + ".";
log.error(msg);
throw new GovernanceException(msg, e);
}
// get the target namespace.
String fileName = RegistryUtils.getResourceName(path);
String namespaceURI =
schemaElement.getAttributeValue(new QName(SCHEMA_TARGET_NAMESPACE_ATTRIBUTE));