// remove from unresolved
unresolvedDependecies.remove(nodeTypeData.getName());
// check suppers
for (int i = 0; i < nodeTypeData.getDeclaredSupertypeNames().length; i++)
{
InternalQName superName = nodeTypeData.getDeclaredSupertypeNames()[i];
if (hierarchy.getNodeType(superName) == null && !resolvedDependecies.contains(superName))
{
unresolvedDependecies.add(superName);
}
}
// check node definition
for (int i = 0; i < nodeTypeData.getDeclaredChildNodeDefinitions().length; i++)
{
NodeDefinitionData childnodeDefinitionData = nodeTypeData.getDeclaredChildNodeDefinitions()[i];
for (int j = 0; j < childnodeDefinitionData.getRequiredPrimaryTypes().length; j++)
{
InternalQName requiredPrimaryTypeName = childnodeDefinitionData.getRequiredPrimaryTypes()[j];
if (hierarchy.getNodeType(requiredPrimaryTypeName) == null
&& !resolvedDependecies.contains(requiredPrimaryTypeName))
{
unresolvedDependecies.add(requiredPrimaryTypeName);
}