Added "Type Derivation OK (Complex)" constraints and anchored them in the * xmlschemas.c: Added "Type Derivation OK (Complex)" constraints and anchored them in the "Element Locally Valid (Element)" constraints. This restricts the type substitution via "xsi:type".