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=25344>.
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=25344





------- Additional Comments From [EMAIL PROTECTED]  2004-11-19 20:21 -------
Created an attachment (id=13506)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=13506&action=view)
XSLT stylesheet with two global variables of which one changes its value

Apply this stylesheet to
http://issues.apache.org/bugzilla/attachment.cgi?id=13505. I used Xalan-J 2.6.0
on a Java 1.4.0 RE.

The global variable "sets" is defined to contain the single element "Set" from
the XML document.

The global variable "activity" is the empty string. It accesses the other
global variable "sets" during its construction to generate the side-effects I
am reporting.

The template accesses the variable "activity" with no reason other but the
buggy side-effects.

Then the "Object" children of the node in "set" are counted. While we would
expect 3, the reported number is 0. The value of the global variable "set"
appears not to be the "Set" element any more.

Note that the correct result "3" is achieved if the dummy variable definition
of "id" in the xsl:for loop is removed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to