SCH-TSR-34

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

About

ID
SCH-TSR-34
Flag
fatal
Context
/tsr:TransactionStatisticsReport/tsr:Subtotal[normalize-space(@type) = 'PerSP-DT-PR-CC']
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), ' '))