BUG: Visual Studio .NET 2002 erroneously removes white space from file (314035)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft XML Classes (included with the .NET Framework 1.0)

This article was previously published under Q314035

SYMPTOMS

When you edit and then save a schema file in Visual Studio .NET, any extra white space is removed, even though you intended the extra white space to be preserved.

RESOLUTION

There is no resolution or workaround for this issue at the present time.

STATUS

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

MORE INFORMATION

Steps to Reproduce the Problem

    • Create a new Visual Studio .NET project of any type, and then add a new XML Schema or XML File item to the project.
    • Add some additional white space within an element -- either spaces or extraneous line breaks between attribute names, for example.
    • Save the file.
    Note that the additional white space is removed.

Modification Type:MinorLast Reviewed:9/15/2005
Keywords:kbvs2002sp1sweep kbbug kbnofix KB314035