DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27959>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27959 Error variable not defined in Xalan but working with MSMXL Summary: Error variable not defined in Xalan but working with MSMXL Product: XalanC Version: 1.7 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Blocker Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I keep getting this error in Xalan: The variable 'ActiveBO' is not defined, source tree node: FIELD (file:///D:\OnDemandXSLT\Step1.xsl, line 178, column 174). But when I use MSXML, it works fine. This is my Input XML: <xsl:variable name="RuleSet" select="document('D:\Rule2.xml')"/> <!-- Main Template Rules --> <xsl:template match="/TXNS"> <xsl:variable name="ActiveBO">Test</xsl:variable> <xsl:element name="TXNS"> <xsl:apply-templates select="$RuleSet//[EMAIL PROTECTED] = $ActiveBO]" mode="GetSrcField"> </xsl:apply-templates> </xsl:element> </xsl:template> </xsl:stylesheet> This is my rule file 'D:\Rule2.xml' <RULESET Version="pre90261" Target="90261"> <RULE Name="TruncateBusCompPath" > <BUSOBJ Name="Foo"> <BUSCOMP Name="Foo" /> </BUSOBJ> </RULE> </RULESET> This is the content of my input xml file <TXNS Version="1.0"> <TXN TranId="345"> </TXN> </TXNS>
