FIX: Slow Performance When You Use XmlValidatingReader (330311)



The information in this article applies to:

  • Microsoft .NET Framework 1.0 SP2

This article was previously published under Q330311

SYMPTOMS

You may experience poor performance when you validate an XML document against a schema that checks for referential integrity.

CAUSE

The XmlValidatingReader class is not fully optimized for validating parent table primary keys, or for validating child table foreign key constraints.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
  Date        Time    Version        Size         File name                Platform
  --------------------------------------------------------------------------------
17-Oct-2002 0:38:14 5.50.4134.600   1,063,824    NDP10_QFEM_Q330311_En.exe  i386
				
After the hotfix is installed, the following files will have the listed attributes or later:
  Date         Version      Size (bytes)     File name        Platform
  --------------------------------------------------------------------
  15-Oct-2002  1.0.3705.369    1,302,528     System.Xml.dll   i386
				

STATUS

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

MORE INFORMATION

For additional information about XSD elements that are affected by this hotfix, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MinorLast Reviewed:10/11/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbQFE KB330311