Thanks for pointing out. I really don't go though such testing before. I got following error for test case you mentioned:
ok 1 - use XML::Schematron; ok 2 # skip XML::XPath not installed ok 3 - 'Schematron instance created' isa 'XML::Schematron' Could not create file parser context for file "t\data\order.scm": No s +uch file o r directory at C:/strawberry/perl/vendor/lib/XML/LibXML/SAX.pm line 10 +1. at C:/strawberry/perl/site/lib/XML/Schematron/Schema.pm line 44. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 2 just after 3.
XML::XPath is not installed. I will install it and lets see what happens.

Update:
After installing XML::XPath and running same case again following error:
ok 1 - use XML::Schematron; ok 2 - 'Schematron instance created' isa 'XML::Schematron' Cannot open file 't/data/order.xml' at C:/strawberry/perl/site/lib/XML +/XPath.pm line 53. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 2 just after 2.

Update 2
cpanm --test-only XML::Schematron::LibXSLT gives following output
--> Working on XML::Schematron::LibXSLT Fetching http://www.cpan.org/authors/id/K/KH/KHAMPTON/XML-Schematron-1 +.09.tar.gz ... OK Configuring XML-Schematron-1.09 ... OK Building and testing XML-Schematron-1.09 ... OK Successfully tested XML-Schematron-1.09

In reply to Re^4: Validating XML file with XML::Schematron::LibXSLT by hiruzen
in thread Validating XML file with XML::Schematron::LibXSLT by hiruzen

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.