TX Text Control ActiveX

XMLNotWellFormed Event

Event

Occurs when a loaded XML document is not well-formed. Loading the document has been aborted and the document's contents are not displayed.

Syntax

XMLNotWellFormed(FilePos, LineNumber, LinePos, Scode, Description, URL, CancelDisplay)

Parameters

ParameterDescription
FilePosIs the absolute file position in the XML document where the error occurred.
LineNumberIs the line number in the XML document that contains the error.
LinePosIs the character position within the line where the error occurred.
ScodeIs the OLE Status Code.
DescriptionExplains the reason for the error. This string can be changed.
URLIs the URL of the XML document containing the error. If this parameter is an empty string there is no information about the URL.
CancelDisplayCan be set to True if the application wants to display its own error string. When this parameter is not set to True, the control will display a message box showing an error string.

Data Types

NameData type
FilePosLong
LineNumberLong
LinePosLong
ScodeLong
DescriptionString
URLString
CancelDisplayBoolean

See Also