Jaa


IParsingErrorInfo

Provides functions that identify where the validation of an XML file failed. The interface derives from the COM IErrorInfo interface, which provides functions that access detailed contextual error information.

Syntax

{
  [id(1), helpstring("GetColumnNumber")] HRESULT GetColumnNumber
    ([out, retval] ULONG* pColumnNumber);
  [id(2), helpstring("GetLineNumber")] HRESULT GetLineNumber
    ([out, retval] ULONG* pLineNumber);
  [id(3), helpstring("GetElementType")] HRESULT GetElementType
    ([out, retval] BSTR* pbstrElementType);
  [id(4), helpstring("GetElementId")] HRESULT GetElementId
    ([out, retval] BSTR* pbstrElementId);
};

Functions

The following table describes the functions that this interface provides.

Function Description

GetColumnNumber

Returns the column number of the validation error.

GetLineNumber

Returns the line number of the validation error.

GetElementType

Returns the element type at which the validation error occurred.

GetElementId

Returns the element identifier at which the validation error occurred.

Interfaces