Message

A credit note should not contain empty elements

Context
/ubl:CreditNote
Test
not(count(//*[not(node()[not(self::comment())])]) > 0)