Module schematron files with sqf:fixes element

Post here questions and problems related to oXygen frameworks/document types.
dcramer
Posts: 159
Joined: Sat Aug 28, 2010 1:23 am

Module schematron files with sqf:fixes element

Post by dcramer » Fri May 01, 2020 7:41 am

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

dcramer
Posts: 159
Joined: Sat Aug 28, 2010 1:23 am

Re: Module schematron files with sqf:fixes element

Post by dcramer » Fri May 01, 2020 8:02 am

Ok, figured it out. xi:include does the trick.

Post Reply