xsl:message can't contain xsl instructions
Brought to you by:
tpsfadmin
This is the same problem as for
xsl:processing-instruction: it is not allowed to
contain any xsl commands, i.e. a "template body".
The fix is the same as for processing instructions:
override the constructor and within it set
FAllowsTemplateBody to True.