Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#163 Empty function body causes crash

v7.7
closed
Michael Kay
5
2012-10-08
2003-10-21
Michael Kay
No

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.

Michael Kay

Discussion

  • Michael Kay
    Michael Kay
    2003-11-13

    Logged In: YES
    user_id=251681

    Fixed in 7.8