Message

Element 'LegislationReference' MUST NOT be provided.

Context
ccv:Criterion[cbc:ID[normalize-space(text()) = 'aef56865-3cdc-42a8-87ed-7e5e93088279']]
Test
not(ccv:LegislationReference)