def validation_errors(self):
<EOL>if self.xmlschema and self.schema_validate and not self.schema_valid():<EOL><INDENT>return self.schema_validation_errors()<EOL><DEDENT>return []<EOL>
Return a list of validation errors.  Returns an empty list
        if the xml is schema valid or no schema is defined.  If a
        schema is defined but :attr:`schema_validate` is False, schema
        validation will be skipped.

        Currently only supports schema validation.

        :rtype: list