zod
zod

Reputation: 12437

HTML parsing error KB927917 IE8

I am getting this error in IE 8 .

But not in all IE 8.

In some system web page is working fine , some are not.

Is it because of some settings.

Enabling or disabling some script will do the magic?

If anyone have gone through this error and solved :) please suggest.

Upvotes: 6

Views: 32732

Answers (5)

John L
John L

Reputation: 305

Update to Sudip's solution: As of today, Security Update KB2936068 fixes this error.

Upvotes: 0

sglessard
sglessard

Reputation: 3156

The error can be as simple as a missing closing tag in HTML code.

Sample code :

<li>
    <a rel="fancy" href="some-highres-image" title="some-title">
        <img src="some-lowres-image" alt="some-name" width="75" height="75" />
        <span class="zoom">Zoom displayed onmouseover</a> <!-- This should be </span> -->
    </a>
</li>

where rel="fancy" calls fancybox after dom ready. The missing closing span tag triggers the KB927917 error in IE8 (8.0.6001.18702)

Upvotes: 0

Sudip
Sudip

Reputation: 31

Please refer to this thread.

This is a known issue in I.E.8 and Microsoft site posts suggests installation of Cumulative Security fix pack version KB2360131 to resolve this issue.

I successfully reproduced this issue on two laptops and was able to resolve it after installing this fix pack. I also tried to uninstall this fix pack and issue reoccurred.

Upvotes: 3

Tom Maeckelberghe
Tom Maeckelberghe

Reputation: 1999

You have to check if the dom is loaded:

$(function(){ 
   ...
});

I got the same error as well, I couldn't reproduce it on all IE8. But this solved it!

Upvotes: 8

kennebec
kennebec

Reputation: 104780

Your users may be running IE8 as IE7 compatibility mode, if that breaks the code you need to detect document.documentMode and branch a fix for IE7.

To find the problem code, run it in compatibility mode yourself and use the IE8 debugger.

Upvotes: 1

Related Questions