How To Acquire Descriptive Information on an XML Error in Visual Basic (252339)
The information in this article applies to:
- Microsoft XML 2.0
- Microsoft XML 3.0
- Microsoft XML 4.0
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q252339 SUMMARY
The XML Object Model provides several ways to handle errors when they occur as a result of the XML document. One of these is the document object's ParseError property, which provides information about problems that may occur in an XML document. This information enables you to handle possible errors and shield users from them. The code sample provided in this article demonstrates the use of some of these properties.
Unicode data is stored as 2 bytes per character, allowing for proper parsing of international language characters and symbols. However, when you save data of this type in ASCII format, errors occur when you try to open and parse the file.
REFERENCESFor additional information regarding the handling of these characters, click the article number below
to view the article in the Microsoft Knowledge Base:
251354 How To Locate and Replace Special Characters in an XML Document with Visual Basic
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbDatabase kbhowto KB252339 kbAudDeveloper |
---|
|