You get the error because you must have an xsl:otherwise, you can't
just have xsl:whens.
I am confused, http://www.w3.org/TR/xslt20/#xsl-choose says
<xsl:choose>
<!-- Content: (xsl:when+, xsl:otherwise?) -->
</xsl:choose>
so in general the xsl:otherwise is optional.
Hmm, has that always been the case? I definitely remember having to
alter some code to add xsl:otherwise's to the choose blocks....
perhaps it was the same situation (return type on the function) and I
confused the error to mean an otherwise was now required...
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--