Subject: Re: [xsl] Strange error: Unknown collation From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 09 Jan 2009 09:55:17 -0500 |
Cheers, Wendell
peter verhaar wrote:
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
Can you tell us which version of which XSLT processor you use?
I think the error http://www.w3.org/TR/xpath-functions/#ERRFOCH0002 means that the XSLT processor does not support the collation needed for the max comparison.
The warning seems to indicate that the template has the xsl:variable but no instruction following that could use the variable.
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Strange error: Unknown co, peter verhaar | Thread | [xsl] Matching only text nodes with, David B?rgin |
Re: [xsl] Strange error: Unknown co, peter verhaar | Date | Re: [xsl] RE: How to call an extern, Florent Georges |
Month |