<xsl:template match="/">
<xsl:variable name="temp" as="element()?">
123
</xsl:variable>
</xsl:template>
And Saxon doesn't show any error.
lazy evaluation - the variable isn't used so it never gets evaluated...
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
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>
--~--