Class (GI Struct)

GLib-2.0GLibMarkupParser

Any of the fields in GLib.MarkupParser can be null, in which case they will be ignored. Except for the error function, any of these callbacks can set an error; in particular the GLib.MarkupError.UNKNOWN_ELEMENT, GLib.MarkupError.UNKNOWN_ATTRIBUTE, and GLib.MarkupError.INVALID_CONTENT errors are intended to be set from these callbacks. If you set an error from a callback, g_markup_parse_context_parse() will report that error back to its caller.

Refer to the GMarkup documentation to understand the scope and limitations of GLib.MarkupParser. In particular, it is not a full XML parser and it must not be used to process untrusted data.

Index

Constructors

Properties

Constructors

Properties