This is wrong. You cannot have an attribute being a complexType.