in reply to How to Validate XSD File with XML?

I have mentioned in the link How to check xml elements? what is the problem using that modules for me
The XML::LibXML is working fine. But, it's a system package and I do not want to install anything dependent on system packages.
  1. use XML::LibXML
  2. fix XML::Validator::Schema
  3. write your own