Sha256: c659ce1a8c0974a9ab2574d77133f534a2a622539099730df6adabd4b7738aac

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 Bytes

Contents

<?xml version="1.0" encoding="UTF-8"?>
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt">
    
    <sch:ns uri="http://example.com/ns1" prefix="ex1"/>
    <sch:ns uri="http://example.com/ns2" prefix="ex2"/>
    
    <sch:pattern>
        <sch:rule context="ex1:sec">
            <sch:assert test="ex2:para" id="e001">sec should contain para</sch:assert>
        </sch:rule>
        <sch:rule context="ex2:para">
            <sch:report test="ex2:para" id="e002">para should not contain another para</sch:report>
        </sch:rule>
    </sch:pattern>
    
</sch:schema>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple-xspec-wrapper-0.3.0-java vendor/xspec-1.0.0/test/schematron-015.sch
simple-xspec-wrapper-0.2.0-java vendor/xspec-1.0.0/test/schematron-015.sch
simple-xspec-wrapper-0.1.0-java vendor/xspec-1.0.0/test/schematron-015.sch