Microsoft Knowledge Base Email Alertz

An access violation may occur in the Microsoft XML (MSXML) 3.0 parser when you format XML with long attribute values.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 327206 - Last Review: November 15, 2007 - Revision: 1.6

FIX: An Access Violation Occurs in Microsoft XML Parser 3.0 When You Use Long Attribute Values

Hotfix download is availableHotfix Download Available
View and request hotfix downloads
This article was previously published under Q327206

SYMPTOMS

An access violation may occur in the Microsoft XML (MSXML) 3.0 parser when you format XML with long attribute values.

CAUSE

The IXMLNodeFactory interface reports the size of the attribute list by using a USHORT argument. The access violation occurs because the USHORT argument overflows when the attribute values are too long.

RESOLUTION

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language. The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date        Version       Size       File name
   ----------------------------------------------
   8-Jan-2002  8.20.9816.0   1,120,768  Msxml3.dll	

				

WORKAROUND

To work around this issue, use MSXML 4.0 with the NewParser option set to True. For more information, visit the following MSDN Web site:

DOM setProperty Method
http://msdn.microsoft.com/en-us/library/ms760290.aspx (http://msdn.microsoft.com/en-us/library/ms760290.aspx)
For additional information about upgrading the MSXML parser, click the article number below to view the article in the Microsoft Knowledge Base:
324460  (http://kbalertz.com/Feedback.aspx?kbNumber=324460/EN-US/ ) HOW TO: Upgrade the Microsoft XML Parser

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Because this bug is in a published public interface, Microsoft cannot produce a complete fix. The hotfix described in the "Workaround" section of this article avoids the access violation because it aborts the parse and returns E_FAIL when it detects a potential "crash" situation.

APPLIES TO
  • Microsoft XML Parser 3.0
  • Microsoft XML Parser 3.0 Service Pack 1
  • Microsoft XML Parser 3.0 Service Pack 2
Keywords: 
kbautohotfix kbhotfixserver kbqfe kbbug kbfix kbqfe KB327206
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate