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
/ t007:Enquiry / cac:AdditionalDocumentReference / cbc:XPath