AttributeField attributeField;
for (Iterator iter = this.attributeFields.iterator(); iter.hasNext();){
attributeField = (AttributeField) iter.next();
if (!attributeField.isSchemaGenerated()){
// if it is not already processed process it.
attributeField.generateSchema(configurator,schemaMap);
}
this.xmlType.addAttribute(attributeField.getAttribute());
// we have to set the namespaces of these element complex types properly
QName attributeTypeQName = attributeField.getAttribute().getType().getQname();
if (!xmlSchema.containsNamespace(attributeTypeQName.getNamespaceURI())){