TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
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.
null
error
g_markup_parse_context_parse()
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.
Static
Any of the fields in GLib.MarkupParser can be
null, in which case they will be ignored. Except for theerrorfunction, 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.