Message Oracle LSX-00143 - element ~S must have type or ref

ERRORelement ~S must have type or ref
CAUSEA Schema element was declared but was neither type or reference.
ACTIONOne of type or reference must be specified.