mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gmarkup: Add g_markup_collect_known_attributes()
Add a variant of g_markup_collect_attributes() which will ignore unknown attributes (such as those from different XML namespaces) when parsing markup, rather than returning G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE as g_markup_collect_attributes() does. Patch by Philip Withnall, https://bugzilla.gnome.org/show_bug.cgi?id=665634
This commit is contained in:
@@ -1125,6 +1125,7 @@ g_markup_parse_context_pop
|
||||
<SUBSECTION>
|
||||
GMarkupCollectType
|
||||
g_markup_collect_attributes
|
||||
g_markup_collect_known_attributes
|
||||
<SUBSECTION Private>
|
||||
g_markup_error_quark
|
||||
</SECTION>
|
||||
|
Reference in New Issue
Block a user