Message

EndpointID SHOULD NOT have any attributes but schemeID

Context
ubl:Enquiry/cac:RequestorParty/cbc:EndpointID
Test
not(./@*[not(name()='schemeID')])
Usage
/ t007:Enquiry / cac:RequestorParty / cbc:EndpointID