AttributeDecl schemaAttribute;
while (dtdAttributes.hasMoreElements()) {
dtdAttribute = (Attribute)dtdAttributes.nextElement();
schemaAttribute = convertAttribute(dtdAttribute, schema);
complexType.addAttributeDecl(schemaAttribute);
}
// end attributes convertion
schemaElement.setType(complexType);
return schemaElement;