Message

EndpointID SHOULD NOT have any attributes but schemeID

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