Message

Only references to an attachment are allowed.

Context
ubl:Enquiry/cac:AdditionalDocumentReference/cbc:XPath
Test
matches(./text(), '^/Enquiry/([a-zA-Z]+:)?Attachment\[\d?\]')
Usage
/ t009:Enquiry / cac:AdditionalDocumentReference / cbc:XPath