An IndexOutOfBoundsException occurs if a stylesheet
function has an empty function body (that is, if it
consists entirely of xsl:param and xsl:variable
declarations). The correct action in this case is to
return an empty sequence.
Applies to 7.7 and possibly earlier releases (not
confirmed). Test case added: func33.