Microsoft KB Archive/255950

= PRB: XML: LoadXML Incorrectly Stores Space-Only Field Values =

Article ID: 255950

Article Last Modified on 4/7/2006

-

APPLIES TO


 * Microsoft XML Parser 2.5

-



This article was previously published under Q255950



SYMPTOMS
When XML stores an element that contains only spaces (blanks), LoadXML incorrectly trims the spaces when it reads the data in, so that an empty string is returned.



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 Microsoft Data Access Components 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:

http://support.microsoft.com/contactus/?ws=support

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      Version       Size            File name -

2/2/00   5.0.3014.200  522,000 bytes   msxml.dll



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

The fix is included with MSXML 2.5 Service Pack 1 and Windows 2000 Service Pack 1.

Additional query words: msxml loadxml trim space spaces field values empty string

Keywords: kbbug kbqfe kbprb kbhotfixserver KB255950

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.