SCH-TSR-28

[SCH-TSR-28] MUST have one SP Key element with the scheme ID coded according to the code list

About

ID
SCH-TSR-28
Flag
fatal
Context
/tsr:TransactionStatisticsReport/tsr:Subtotal[normalize-space(@type) = 'PerSP-DT-PR']
Test
every $x in (tsr:Key[normalize-space(@metaSchemeID) = 'SP']) satisfies not(contains(normalize-space($x/@schemeID), ' ')) and contains($cl_spidtype, concat(' ', normalize-space($x/@schemeID), ' '))