I know there are quite some threads talking about validating XML file against its XML schema, such as : validate-xml-using-libxml and xml-schema-validation-with-relaxng
So if there is a simple Perl module on CPAN that can test this with minimal code, then that would be very fantastic to know.