Test Report

Stylesheet: Users/octavian/Documents/Octavian/Tekom2018/SchematronTutorial/Sampels/Test/price.sch-compiled.xsl

Tested: 4 November 2018 at 18:44

Contents

passed: 1 pending: 0 failed: 1 total: 2
Schematron: "price.sch" 0 0 0 0
Test prce 1 0 1 2

Schematron: "price.sch"

Schematron: "price.sch"

Test prcepassed: 1 / pending: 0 / failed: 1 / total: 2

Test prce passed: 1 / pending: 0 / failed: 1 / total: 2
Scenario for testing a rule passed: 1 / pending: 0 / failed: 1 / total: 2
Should be trigered we have a small price: assert priceTooSmall Failure
Should be trigered we have a big price: report priceTooBig Success

Test prce Scenario for testing a rule

Should be trigered we have a small price: assert priceTooSmall

Result Expected Result
<svrl:schematron-output xmlns:schold="http://www.ascc.net/xml/schematron"
         xmlns:iso="http://purl.oclc.org/dsdl/schematron"
         xmlns:xhtml="http://www.w3.org/1999/xhtml"
         xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
         title=""
         schemaVersion=""><--   
		   
		   
		 -->
   <svrl:active-pattern document="file:/Users/octavian/Documents/Octavian/Tekom2018/SchematronTutorial/Sampels/Test/xspec//context-d1e5.xml" />
   <svrl:fired-rule context="book" />
   <svrl:fired-rule context="book" />
   <svrl:successful-report test="@price > 1000"
                          id="priceTooBig"
                          location="/books/book[2]">
      <svrl:text>The book price is too big</svrl:text>
   </svrl:successful-report>
</svrl:schematron-output>
()