cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Schematron Abstract Pattern Support

Level 2

Schematron Abstract Pattern Support

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>