Schematron generation code plcslib\xsl\generate_sch\plcs_psm_xmi2sch.xsl has a bug.
The following entries are being generated for TaskMethodVersionAssignment and TaskMethodVersionRelationship
<sch:rule context="//TaskMethodVersionAssignment">
<sch:report test="./AssignedTaskMethod<span>[not(klzzwxh:0000Ref=//ActivityMethod[substring-after(klzzwxh:0001:type, ':')='TaskMethodVersion']</span>/@uid)]">TaskMethodVersionAssignment: AssignedTaskMethod/@uidRef declared for which there is no corresponding ActivityMethod/@xsi:type='TaskMethodVersion' @uid</sch:report>
</sch:rule>
and
<sch:rule context="//TaskMethodVersionRelationship">
<sch:report
test="./Related[not(@uidRef=//ActivityMethod[substring-after(@xsi:type, ':')='TaskMethodVersion']/@uid)]"
>TaskMethodVersionRelationship: Related/@uidRef declared for which there is no corresponding ActivityMethod/@xsi:type='TaskMethodVersion' @uid</sch:report>
</sch:rule>
These entries should be
<sch:rule context="//TaskMethodVersionAssignment">
<sch:report
test="./AssignedTaskMethod[not(@uidRef=//TaskMethodVersion/@uid)]"
>TaskMethodVersionAssignment: AssignedTaskMethod/@uidRef declared for which there is no corresponding TaskMethodVersion @uid</sch:report>
</sch:rule>
and
<sch:rule context="//TaskMethodVersionRelationship">
<sch:report
test="./Related[not(@uidRef=//TaskMethodVersion/@uid)]"
>TaskMethodVersionRelationship: Related/@uidRef declared for which there is no corresponding TaskMethodVersion @uid</sch:report>
</sch:rule>
The correct entries will have to be entered manually after a regeneration of the plcslib-svn\trunk\plcslib\data\PLCS\psm_model\plcs_psm.sch schema pending fixes to the XSL generation code.