Message

ID SHOULD NOT have any further attributes but schemeURI

Context
ubl:EnquiryResponse/cbc:ID
Test
not(./@*[not(name()='schemeURI')])
Usage
/ t010:EnquiryResponse / cbc:ID