IE8 - HTML Parsing Error: Unable to modify the parent container element before the child element is closed
I am running Windows XP Professional SP3 and I am getting this error in IE8 when attempting to enter certain web site. Error details:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E)
Timestamp: Fri, 25 Nov 2011 17:02:37 UTC
Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: http://www.ilmuit.com/review/597

Solution for User
After doing some research, I found that it is an IE8 bug. So, I managed to download and install the
Cumulative Security update for Internet Explorer KB2360131 to resolve this issue.
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27630 (Windows XP) or
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27622 (Windows Vista)
Solution for Web Developer
If you are web developer, you can’t expect your visitor to be willing to install the update. If you found that error was being caused by some 3rd party JavaScript, although your site is displaying fine in Firefox, Chrome and Opera, your visitors still getting the error message in IE8.
Here is what I did, rather then removing the whole JavaScript, I used the conditional comments on the script so that the code will NOT be executed by Internet Explorer:
<![if !IE]>
<script type=”text/javascript” src=”http://www.domain.com/javascript.js”></script>
<![endif]>

FACEBOOK
GOOGLE+
TWITTER
RSS
























