Also, Saxon stops with reporting errors if attribute "name" of xsl:accumulator is empty:

<xsl:accumulator name="">


Thanks, I've improved the diagnostics for the next release.

Michael Kay
Saxonica