Oracle Message LSX-00166 - both content types must be mixed or both must be element-only

ERRORboth content types must be mixed or both must be element-only
CAUSEIf the content types of the derived type and base type are not the same simple type definition and the content type of the base type is not empty, then both content types must be mixed or both must be element-only. This was not the case, resulting in this error.
ACTIONAdd attribute mixed=true or remove it.