private void handlePendingSimpleTypes() {
			for (Iterator<Entry<String, Map<String, String>>> it = pendingSimpleType.entrySet().iterator(); it.hasNext(); ) {
				Entry<String, Map<String, String>> entry = it.next();
				String complexType = entry.getKey();
				Map<String, String> attsWithPendingType = entry.getValue();
				VariableMap attributeMap = typeAttrMap.get(complexType);
				
				if (attsWithPendingType != null && attributeMap != null) {
					for (Iterator<Entry<String, String>> it2 = attsWithPendingType.entrySet().iterator(); it2.hasNext() ;) {
						Entry<String,String> entry2 = it2.next();
						String attrName = entry2.getKey();
						String simpleTypeName = entry2.getValue();
						if (simpleTypeName.contains(":"))
							simpleTypeName = simpleTypeName.substring(simpleTypeName.indexOf(":")+1);
						SimpleType simpleType = simpleTypes.get(simpleTypeName);
						
						if (simpleType != null && attrName != null) {
							Variable variable = simpleType.getVariable();
							if (variable != null) {
								Variable clone = variable.clone();
								clone.setName(attrName);
								attributeMap.add(clone);
							}
						}
					}
				}
			}
		}