xsl-list
[Top] [All Lists]

[xsl] Strange error: Unknown collation

2009-01-09 09:05:25
Hello,

The following 2 lines:

                <xsl:variable name="notImportant" select="(1,2)"/>
                <xsl:variable name="errorProducingLine"
select="sum(for $a in $notImportant return number(max(1,2)))"/>

Are producing an error/warning on the closing bracket of the second line:

Error: FOCH0002: Unknown collation
Warning: SXWN9001: A variable with no following sibling instructions
has no effect

But if I remove the Max and change this to something else, it works fine!

                <xsl:variable name="errorProducingLine"
select="sum(for $a in $notImportant return number(1+1))"/>

What's wrong with that first second line?

Thanks! Peter

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>