DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23296>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23296 "http://exslt.org/sets" distinct() returns STRING instead of NodeSet Summary: "http://exslt.org/sets" distinct() returns STRING instead of NodeSet Product: XalanJ2 Version: 2.5 Platform: Sun OS/Version: Linux Status: NEW Severity: Critical Priority: Other Component: org.apache.xalan.extensions AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Such a template is not working with Xalan-j-2_5_1 but works fine with Xalan that comes with J2sdk1.4.2_01 Placing 2.5.1 xalan.jar into /endorsed directory causes exception: Unknown file:0:0: Fatal Error! Can not convert #STRING to a NodeList! <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" exclude-result-prefixes="set"> <xsl:template match="/"> <rpt> <xsl:variable name="dSIC"><xsl:value-of select="set:distinct( /report/company/sic )"/></xsl:variable> <xsl:variable name="dBROKER"> </xsl:variable> <xsl:for-each select="$dSIC"> </xsl:for-each> </rpt> </xsl:template> </xsl:stylesheet>
