Page 1 of 1

Module schematron files with sqf:fixes element

Posted: Fri May 01, 2020 7:41 am
by dcramer
Say I have:

common.sch
one.sch
two.sch

In common.sch, I have a number of sch:patterns, each with an id and an sqf:fixes section, with my common fixes.
In one.sh and two.sch, I sch:include different subsets of the patterns from common.sh

However, Oxygen is not happy because the sqf:fixes are not available in one.sch and two.sh. Things only work if I paste the sqf:fixes into each schema. Is there a way to include the sqf:fixes content into one.sch and two.sch?

I know I can embed the sqf:fixes in the sch:rules, but some of them are shared across different rules in different patterns.

Thanks,
David

Re: Module schematron files with sqf:fixes element

Posted: Fri May 01, 2020 8:02 am
by dcramer
Ok, figured it out. xi:include does the trick.