mkwan 2003/02/03 12:29:00
Modified: java/src/org/apache/xalan/templates Tag: XSLTC_DTM
ElemVariable.java
Log:
Propagate the fix for Bugzilla 16403 to XSLTC_DTM.
Revision Changes Path
No revision
No revision
1.17.2.5 +1 -1
xml-xalan/java/src/org/apache/xalan/templates/ElemVariable.java
Index: ElemVariable.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemVariable.java,v
retrieving revision 1.17.2.4
retrieving revision 1.17.2.5
diff -u -r1.17.2.4 -r1.17.2.5
--- ElemVariable.java 30 Jan 2003 18:41:29 -0000 1.17.2.4
+++ ElemVariable.java 3 Feb 2003 20:29:00 -0000 1.17.2.5
@@ -394,7 +394,7 @@
{
m_index = cstate.addVariableName(m_qname) - cstate.getGlobalsSize();
}
- else
+ else if (m_parentNode instanceof Stylesheet)
{
// If this is a global, then we need to treat it as if it's a
xsl:template,
// and count the number of variables it contains. So we set the count
to
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]