Schematron error in OxygenXML 18
Posted: Tue Jan 07, 2020 11:39 pm
Hi,
We use Schematrons to check our DITA content. For the moment, some of our authors use OxygenXML 21 and others use 18.
We recently added the following QuickFix in one of our rules:
OxygenXML 18 shows the following error, but not 21: cvc-complex-type.3.2.2: Attribute 'use-for-each' is not allowed to appear in element 'sqf:fix'.
Is there a way to tell OxygenXML 18 that this shouldn't be considered an error?
Thanks!
Grethel.
We use Schematrons to check our DITA content. For the moment, some of our authors use OxygenXML 21 and others use 18.
We recently added the following QuickFix in one of our rules:
Code: Select all
<sqf:fix id="addProdname" use-for-each="//series/keyword/@conkeyref">
<xsl:variable name="newProdname" select="substring-after(substring-after($sqf:current,'/'),'_')" />
<sqf:description>
<sqf:title><sch:value-of select="$newProdname"/></sqf:title>
</sqf:description>
<sqf:add match="//prodname" target="base" node-type="attribute">
<sch:value-of select="$newProdname"/>
</sqf:add>
</sqf:fix>
Is there a way to tell OxygenXML 18 that this shouldn't be considered an error?
Thanks!
Grethel.