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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Schematron Abstract Pattern Support

cedporter
1-Newbie

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>
0 REPLIES 0
Top Tags