Figured it out, had to use --schema
instead of --validate
.
xmllint --schema yourxsd.xsd yourxml.xml --noout
The --noout
makes sure your code in XSD and XML doesn’t show. With this option you will only see the Validation Errors.
Figured it out, had to use --schema
instead of --validate
.
xmllint --schema yourxsd.xsd yourxml.xml --noout
The --noout
makes sure your code in XSD and XML doesn’t show. With this option you will only see the Validation Errors.