XSD: handle simpleType-in-restriction.
XSD: Handle typerefs-in-union.