Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Are abstract patterns supported by the Schematron implementation in Arbortext? I wrote the following simple abstract pattern, and it appears not to compile when running completeness check.
<pattern abstract="true" id="conditionsValidation"> <title>Element count validation</title> <rule context="$element[not(@conditions)]"> <report test="preceding-sibling::$element[not(@conditions)]">XisError: More than one <name/> found. Set the @condition attribute to ensure only one appears in output.</report> </rule> </pattern> <pattern is-a="conditionsValidation"> <param name="element" value="leadIn"/> </pattern>