Sha256: b270f4dc3878b92de53ee9c03b1438322e470cec3d0dbd59e52da10f75169b40

Contents?: true

Size: 672 Bytes

Versions: 2

Compression:

Stored size: 672 Bytes

Contents

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
  <phase id="testphase">
    <active pattern="b" />
  </phase>
<pattern id="a">
    <rule context="*:test">
      <report test="*:testable">
        There should be 'testable' elements within 'test's.
      </report>
    </rule>
    <rule context="*:test/*:testable">
      <assert test="@test-attr">Testables must have have the 'test-attr' attribute.</assert>
    </rule>
</pattern>
<pattern id="b">
    <rule context="*:test[1]">
      <assert test="@test-attr">Testables must have have the 'test-attr' attribute.</assert>
    </rule>
</pattern>
</schema>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schematronium-0.2.0-java test/test_data/schematron/test.sch
schematronium-0.1.4-java test/test_data/schematron/test.sch