Validate XML against schema using xmllint

xmllint --noout --schema schema.xsd file.xml