Skip to main content
Community Manager
10月 15, 2018 7:54 下午 UTC
问题

Question About: Schematron Abstract Pattern Support

Hi, Arbortext TS Engineers!

 

Customerwithsupport: <cedporter>  left this question.

 

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>

 

Do you have an appropriate link or TS  response that could be left on the community to answer his question?

 

Thank You!