sName);
}
if (uriNamespace == null)
{
throw new MetadataException("err.meta.integration.xml.missingURI",
new Object[]{part.getFullPath()});
}
namespace.setURI(uriNamespace.getURI());
namespace.setSchema(uriNamespace.getSchema());
}
if (namespace.getSchema() != null)
{
addNamespace(XMLNamespace.XSI_NAME, XMLNamespace.XSI, null, false);
break;
}
}
// Propagate namespaces from this mapping to the base recursively
propagateNamespaces();
super.finish(part);
if (m_sXSDType != null)
{
String sURI = (m_namespace == null) ? null : m_namespace.getURI();
addXSDTypeMessage(sURI, m_sXSDType, m_message);
}
if (baseMessage != null)
{
RootXMLMessagePartMapping baseRootMapping = (RootXMLMessagePartMapping)baseMessage.getRoot().getMapping();
if (baseRootMapping.m_schemaResourceLookupDeque != null)
{
if (m_schemaResourceLookupDeque == null)
{
m_schemaResourceLookupDeque = new LinkedHashTab();
}
for (Lookup.Iterator itr = baseRootMapping.m_schemaResourceLookupDeque.iterator(); itr.hasNext(); )
{
String sSrcURL = (String)itr.next();
URL dst = (URL)itr.getValue();
URL oldDst = (URL)m_schemaResourceLookupDeque.put(sSrcURL, dst);
if (oldDst != null && !oldDst.equals(dst))
{
throw new MetadataException("err.meta.integration.xml.schemaResourceMismatch",
new Object[]{sSrcURL, m_message.getName(), baseRootMapping.m_message.getName()});
}
}
}
}