The Microsoft XMLDOMParseError object holds information about the most recent parse error, including the error number, line number, character position, and a text description. Although it's not obvious to anyone who loads an XML document into Internet Explorer, the browser does validate the document using either a DTD or a schema, if one is supplied. It's not obvious that this happens because, by default, Internet Explorer does not display any validation error messages. However, if you use the XMLDOMParseError object, you can get a full validation report, and I'll do so in this chapter.
Here are the base properties of this object:
errorCode— The error code of the most recent parse error. Read-only.
filepos— The file ...