IE 6 appendChild HELL
-
I have some code I wrote ages ago, and now it won't run on my machine at work ( but it runs on everyone elses ). I have IE6 and we've found conversely that ome of my XSL *only* ran on my machine. The problem is when I have a list of nodes, all siblings, and I loop through them and use appendChild to cut and paste them into another document. It simply blows up. Any suggestions ? Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
-
I have some code I wrote ages ago, and now it won't run on my machine at work ( but it runs on everyone elses ). I have IE6 and we've found conversely that ome of my XSL *only* ran on my machine. The problem is when I have a list of nodes, all siblings, and I loop through them and use appendChild to cut and paste them into another document. It simply blows up. Any suggestions ? Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
I'm testing this and not having any problems. Can you post some sample code? Cheers, Tom Archer Author, Inside C# Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
-
I have some code I wrote ages ago, and now it won't run on my machine at work ( but it runs on everyone elses ). I have IE6 and we've found conversely that ome of my XSL *only* ran on my machine. The problem is when I have a list of nodes, all siblings, and I loop through them and use appendChild to cut and paste them into another document. It simply blows up. Any suggestions ? Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
You have check the xml parser versions are the same correct?
-
You have check the xml parser versions are the same correct?
We've installed the latest version of MSXML on all machines, but I believe that IE6 changes something in that regard. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
-
I'm testing this and not having any problems. Can you post some sample code? Cheers, Tom Archer Author, Inside C# Please note that the opinions expressed in this correspondence do not necessarily reflect the views of the author.
I'll get it from work tomorrow. Basically it works on other machines but not on mine, and I *think* IE6 may have an influence. The thing is, the block of code that fails I wrote some code to look the same, and it worked. I worked late on Tuesday and I spent from 5 to 10:30 on this, then three more hours the next day and we dropped it in the end simply because it's only my machine that won't run it. Which means I can't run a central piece of code for the project, which I wrote. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
-
I have some code I wrote ages ago, and now it won't run on my machine at work ( but it runs on everyone elses ). I have IE6 and we've found conversely that ome of my XSL *only* ran on my machine. The problem is when I have a list of nodes, all siblings, and I loop through them and use appendChild to cut and paste them into another document. It simply blows up. Any suggestions ? Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002
OH!, this one looks like it could be related to a question i just posted in the ASP forum. Our problem is that HTML being parsed perfectly well in IE5 suddenly seems to miss items in listboxes when parsed by IE6. As i am currently doing some consulting away from our home office i am not able to view the source, but if my co-workers are still using my scripts then those list boxes are filled dynamically by traversing nodes in the DOM. If we could get this behaviour cathegorized as a genuine bug and not 'a new IE feature', then we could tell our customers to use IE5 while waiting for the next patch. "It could have been worse, it could have been ME!"
-
OH!, this one looks like it could be related to a question i just posted in the ASP forum. Our problem is that HTML being parsed perfectly well in IE5 suddenly seems to miss items in listboxes when parsed by IE6. As i am currently doing some consulting away from our home office i am not able to view the source, but if my co-workers are still using my scripts then those list boxes are filled dynamically by traversing nodes in the DOM. If we could get this behaviour cathegorized as a genuine bug and not 'a new IE feature', then we could tell our customers to use IE5 while waiting for the next patch. "It could have been worse, it could have been ME!"
I am still able to traverse nodes, it's when I call appendChild, and then not always. I did a full reinstall, and we're fairly sure it's not related to IE6 ( although I've not reinstalled it ), but the general death of my machine. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002