ignorableWarning Method
Receives notification of a warning.
Note
This method is not called in the current Simple API for XML (SAX2) implementation.
Visual Basic Implementation Syntax
Sub ignorableWarning(oLocator As IVBSAXLocator, _
strErrorMessage As String, nErrorCode As Long)
Parameters
oLocator
The Locator
object, which contains line and column numbers of the error. SystemID and PublicID may be unavailable for particular data sources, such as character buffer.
strErrorMessage
The error information.
nErrorCode
The error code.
C/C++ Syntax
HRESULT ignorableWarning(
[in] ISAXLocator * pLocator,
[in] const wchar_t * pwchErrorMessage,
[in] HRESULT hrErrorCode);
Parameters
pLocator[in]
The Locator
object, which contains line and column numbers of the error. SystemID and PublicID may be unavailable for particular data sources, such as character buffer.
pwchErrorMessage[in]
The error information.
hrErrorCode[in]
The error code identifying the reason for the error.
Return Values
S_OK
The value returned when the error is handled and parsing may proceed.
Other
The value returned if parsing should be aborted.
Remarks
The reader uses this method to report conditions that are not errors as defined by the XML 1.0 Recommendation. The default behavior is to take no action. The reader must continue to provide normal parsing events after invoking this method. It should still be possible for the application to process the document through to the end.
Versioning
Implemented in: MSXML 3.0 and later
Applies to
See Also
errorHandler Property (Visual Basic)
putErrorHandler Method (C-C++)
ISAXLocator Interface