Issue Details (XML | Word | Printable)

Key: XALANJ-1778
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Assignee: Xalan Developers Mailing List
Reporter: Chris Trautwein
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
XalanJ2

XALAN bug with Jrockit142 (or jrockit bug with XALAN)

Created: 22/Jan/04 11:01 PM   Updated: 08/Jun/05 09:14 PM
Return to search
Component/s: XSLTC
Affects Version/s: 2.7.1
Fix Version/s: None
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)

Time Tracking:
Not Specified

Environment:
Operating System: Windows XP
Platform: PC

Bugzilla Id: 26347


 Description  « Hide
Tested Xalan XSLTC(CVS 20040106 + Patches for last() Bug 24782) with Jrockit
1.4.2 and found:

In the following example only one row tag is processed when there is another
loop inside the 'row' loop.

XML:
<?xml version="1.0" encoding="ISO-8859-1"?>
<grid-group>
<row/>
<row/>
</grid-group>

XSL:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="ISO-8859-1" doctype-public="-
//W3C//DTD HTML 4.01 Transitional//EN"/>
<xsl:template match="grid-group">
<xsl:for-each select="row">
<tr>
<xsl:for-each select="cell"/>
</tr>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

Output:
<tr></tr>

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Santiago Pericas-Geertsen added a comment - 23/Jan/04 02:35 AM
Chris,

 I cannot reproduce the problem. All VMs will take the same sequence of
bytecodes to execute the transform, if one produces the correct result and one
does not, then the problem is in the VM. Typically, these problems are related
to JIT compilation, but I'm not really familiar with Jrockit so I can't really
say (if there's an option to turn off the JIT, you may want to try that).

 I'll wait for your response, but this looks like a WONTFIX. Thanks.

Chris Trautwein added a comment - 23/Jan/04 06:16 PM
Santiago,

I tested with several configs of the Jockit 1.4.2 vm: allways the same result.
I agree that this is BEAs task. We commit this Bug to BEA.
(I also found some more problems using this VM with Xalan)

Christine Li added a comment - 30/Jan/04 06:05 AM
Works for Sun JDK.

Jeff Wilber added a comment - 23/May/05 11:03 PM
Was an issue ever raised with BEA on this matter?

Fredrik Ohrstrom added a comment - 08/Jun/05 09:14 PM
The bug is now fixed in JRockit. The next release of Jrockit Ariane Service pack 5 will
contain the fix. It will be fixed in the Dragon SP3 release as well.

Use CR229176 as a reference when discussing this issue with BEA-support.