[XSD] Removed useless checks.