Main Content

matlab.io.xml.dom.ParseErrorLocator Class

Namespace: matlab.io.xml.dom

Specifies location of parse error

Since R2021b

Description

Objects of the matlab.io.xml.dom.ParseErrorLocator class specify the location of an XML markup parse error in an XML file or string.

The matlab.io.xml.dom.ParseErrorLocator class is a handle class.

Class Attributes

Sealed
false
ConstructOnLoad
true

For information on class attributes, see Class Attributes.

Properties

expand all

Offset of the error from the beginning of the markup, specified in uint64.

Attributes:

GetAccess
public
SetAccess
private

Character offset of the error, specified in uint64.

Attributes:

GetAccess
public
SetAccess
private

Offset of the error in characters from the beginning of a line, specified in uint64.

Attributes:

GetAccess
public
SetAccess
private

Path of the file containing the error, specified as a string. This property is empty when the parser is processing a string.

Attributes:

GetAccess
public
SetAccess
private

Offset of the error in lines from the beginning of the markup, specified in uint64.

Attributes:

GetAccess
public
SetAccess
private

Version History

Introduced in R2021b