Message

An order response with code RE (Rejected) should NOT provide order lines.

Context
cbc:OrderResponseCode
Test
(normalize-space(.) = 'RE' and count(../cac:OrderLine) = 0) or normalize-space(.) != 'RE'