Property declaration = changeSummaryElementNS == null
? rootObject.getType().getProperty(changeSummaryElementName)
: xsdHelper.getGlobalProperty(changeSummaryElementNS, changeSummaryElementName, true);
if (declaration != null)
{
EClassifier type = changeDescription.eClass();
if (type != declaration.getType() && type != CHANGE_SUMMARY)
writeGlobalAttribute(ExtendedMetaData.XSI_PREFIX, ExtendedMetaData.XSI_URI, XMLResource.TYPE, new StringBuffer(prefix(extendedMetaData.getNamespace(type), null))
.append(':').append(extendedMetaData.getName(type)).toString());
}