473,387 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Vista IE7 Recussion Error

I used the following test01.xml file below to exercise the
cnlUnit01.xslt.

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="cnlUnit01.xslt"?>
<cnlUnitXsl unitDataFile="111111"/>

The cnlUnit01.xslt file below should recursively concatenate the
string "Level", the string " ", and the numeric value of the number
(level) of recursions that occur, and print that 10073 times in
theory, each time on a new line.

<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/
Transform" xmlns:xhtm="http://www.w3.org/1999/xhtml" xmlns="http://
www.w3.org/1999/xhtml">
<xsl:output method="xml" encoding="iso-8859-1" indent="yes" doctype-
public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<!--
************************************************** ************************************************** ***********
-->
<xsl:template match="/cnlUnitXsl">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
<xsl:textTest00001</xsl:text>
</title>
</head>
<body>
<!-- ******************** RECURSIVE ROW PRINT
***************************** -->
<xsl:call-template name="rowPrint">
<xsl:with-param name="level" select="1"/>
</xsl:call-template>
<!-- ******************** RECURSIVE ROW PRINT
***************************** -->
</body>
</html>
</xsl:template>
<xsl:template name="rowPrint">
<xsl:param name="level"/>
<xsl:choose>
<xsl:when test="$level 10073">
</xsl:when>
<xsl:otherwise>
<xsl:text>Level</xsl:text>
<xsl:text</xsl:text>
<xsl:value-of select="string($level)"/>
<br/>
<xsl:call-template name="rowPrint">
<xsl:with-param name="level" select="$level + 1"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

When you call this xml file in XP or FireFox using IE6 you get the
following:

Level 1
Level 2
Level 3
..
..
..
..
Level 8187
Level 8188
Level 8189
Level 8190
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.

The XSL processor stack has overflowed - probable cause is infinite
template recursion.
This is the expected outcome of a stack overflow and is not of
concern.
When you call this xml file in VISTA using IE7 on a linovo X60s Intel
Centrino Duo machine you get the following:

Level 1
Level 2
Level 3
..
..
..
Level 530
Level 531
Level 532
Level 533
vel 7716
Level 7717
Level 7718
Level 7719
..
..
..
..
Level 8187
Level 8188
Level 8189
Level 8190
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error
and then click the Refresh button, or try again later.

The XSL processor stack has overflowed - probable cause is infinite
template recursion.
AAAAAAABAQEAjVFRUu0BAQA9YV1MfUVFR+nJyvel 1075
Level 1076
Level 1077
Level 1078
Level 1079
Level 1080
Level 1081
Level 1082.
..
..
..

What happens after "Level 533" is printed is not always the same, but
it always begins after "Level 533" is printed and not before. A stack
overflow still occurs at Level 8190 like it did in XP IE6 and XP
FireFox. However, in VISTA the transform continued operating after
the stack overflow occurred starting again at Level 1076. The results
were the same on two separate machines of the same design. The
program was also tested on eight other computers from low end Gateways
with low end AMD chipsets, 512 M of RAM with VISTA Basic thru high end
HP core 2 duo and 2 GHz chipsets with 2 G RAM with VISTA Ultimate.
The problem only occurs in VISTA and IE7. XP with IE6 or FireFox
adequately transforms the code. The error of concern and has shown up
in various other more complex settings with much less recurssion but
always having something to do with recursion. In these other
settings, the problem also only occurs in VISTA and IE7. XP with IE6
or FireFox adequately transforms code in these other settings without
error.

If the test for $level in line 0025 is changed to 2000, no error (that
is no stack overflow) at all occurs in XP IE6 or Firefox. In VISTA
IE& no stack overflow occurs but the other problem still occurs after
"Level 533" is printed. I originally only ran the test to 2000, but
went higher to determine where the stack overflow would occur.

Is there a way to eleminate this problem in VISTA IE7?

Apr 16 '07 #1
1 4224
na*********@gmail.com wrote:
Is there a way to eleminate this problem in VISTA IE7?
Report it to Microsoft and see if they're interested in releasing a bugfix?

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Apr 17 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: =?Utf-8?B?Tm9ybUQ=?= | last post by:
I have created a three tier application consisting of Client (Exe and Exe.Config), Middle (WebServices) and Database tiers. The Client tier contains an Exe, an Exe.Config and a dynamic Web...
10
by: hugh welford | last post by:
Hi Have just installed IIS7 on Vista and am trying to access a .mdb file through ASP. Getting server error. I think the problem is in the file permission. Under XP Pro/IIS6 is used to have to...
5
by: =?Utf-8?B?bXVzb3NkZXY=?= | last post by:
Hi, I wonder if someone could shed some light on this one for me. I have developed a web app in VS2005 with the built in server. It uses an sql database, everytihng works. I need to test it...
1
mathewphilipp
by: mathewphilipp | last post by:
Dear all, I have a VB 6 application (VB 6.0 with MS Access) working well in all other Windows versions like Windows XP, 2000 etc. But it shows the error "Run-time error '713': Application-defined or...
2
by: John Heitmuller. | last post by:
Hi, I have a VB.Net application that I have recently upgraded from Visual Studio 2003 to Visual Studio 2005. The VB.Net app accesses Word and Excel. When I run the newly compiled VB.Net app on...
0
by: walve_wei | last post by:
<1>use the D3D control panel, enable the debug DLL and maximum validation,for D3D control panel ,you need to install the directx sdk. <2>Start up the debug monitor (<MSVC install...
10
by: nik | last post by:
Hi, I've compiled my application on my vista machine, and it won't run at all on my xp machine. In the windows error report I get Exception code; 0xe0434f4d. I searched for that exception, but...
19
by: pmw | last post by:
Hi I've got a problem with my current application. I currently use Windows Vista with Visual Studio Express 2008. If I compile the application on Vista, it works fine on Vista, but it doesn't...
4
by: =?Utf-8?B?dmlwZXJ4MTk2Nw==?= | last post by:
We are having an issue with an application we are developing. We have a Legacy COM DLL in C++ that we have converted to Visual Studio 2008. This COM DLL has methods that are calling Managed C#...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.