Link to home
Start Free TrialLog in
Avatar of jmeree
jmeree

asked on

IE6.1 browser crashes with transformnode() on xml data islands

I have an html form in which I am using xml data islands.  These islands render an html form using the javascript transformnode() function.  (see "Transforming the Contents of XML Data Islands Using XSLT" in msdn.microsoft.com).

If I repeatedly run transformnode() in a javascript function, the browser crashes.  I checked the memory in the task manager and IE doesn’t seem to be leaking memory.  However it seems to take longer for the problem to happen on a machine with more physical memory.  I put in some debug prints and found that the crash happens AFTER returning from transformnode() at the time when the javascript is ending.

Here is some of the exception data from the error report:

appname: iexplore.exe
appver: 6.0.2800.1106
modname: mshtml.dll
modver: 6.0.2800.1141
offset: 000c39ee

Exception Information:
code: 0xc0000005
flags: 0x00000000
record: 0x0000000000000000
Address: 0x00000000636439ee

It happens on both Windows 2000 and Windows/XP Pro
Avatar of jmeree
jmeree

ASKER

The real problem here was trying to use a form button that called transformNode().  It seems that the visual "pressing" action that the button makes interferes with the transformation.  I changed to a link (which doesn't do anything when it's clicked and it works fine now).
ASKER CERTIFIED SOLUTION
Avatar of SpideyMod
SpideyMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial