Skip to content

Commit 48c54f7

Browse files
committed
Sample Schematron file that report when source = target.
1 parent e2bc639 commit 48c54f7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

sch/progress.sch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2"
3+
xmlns:sqf="http://www.schematron-quickfix.com/validator/process">
4+
5+
<sch:pattern>
6+
<sch:rule context="*:target">
7+
<sch:report test="deep-equal(./node(), ../*:source/node())" role="warn">
8+
Source and target content are the same, probably the content is not translated!
9+
</sch:report>
10+
</sch:rule>
11+
</sch:pattern>
12+
13+
</sch:schema>

0 commit comments

Comments
 (0)