Previously encoded characters in an XML Schema file are encoded again when you write the XML Schema to a new file (815109)
The information in this article applies to:
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
Beta InformationThis article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.
No formal product support is available from Microsoft for this Beta product. For information about how to obtain support for a Beta release, see the documentation that is included with the Beta product files, or check the Web location where you downloaded the release.SYMPTOMSWhen you use the XmlSchema class to read an XML Schema (.xsd) file that includes an encoded character such as a space character, and then you use the Write method to write the XML Schema to another XML Schema file, you may notice that the encoded characters have been encoded again in the new XML Schema file.CAUSEThe XMLSchema class uses the XmlSerializer class to encode the data
before writing the data to another XML Schema file. Therefore, if the XmlSchema object
already contains encoded data, the Write method encodes the data again, and
then it writes the data to the file.STATUS This
behavior is by design.REFERENCES
For additional information about XML Schemas in the Microsoft .NET
Framework, click the following article number to view the article in the Microsoft Knowledge Base:
313826
Roadmap for XML schemas in the .NET Framework
Modification Type: | Major | Last Reviewed: | 2/5/2004 |
---|
Keywords: | kbXML kbSchema kbFileSystems kbFileIO kbprb KB815109 kbAudDeveloper |
---|
|