When the ref attribute is present, the type attribute and complexType, simpleType, key, keyref, and unique elements cannot ...