mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Handle all states. (#454473)
2007-07-07 Matthias Clasen <mclasen@redhat.com> * glib/gmarkup.c (g_markup_parse_context_end_parse): Handle all states. (#454473) svn path=/trunk/; revision=5604
This commit is contained in:
parent
5399815323
commit
77363936cc
@ -1,3 +1,8 @@
|
||||
2007-07-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmarkup.c (g_markup_parse_context_end_parse): Handle
|
||||
all states. (#454473)
|
||||
|
||||
2007-07-06 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/giowin32.c (g_io_win32_check): When WSAEnumNetworkEvents()
|
||||
|
@ -1790,6 +1790,7 @@ g_markup_parse_context_end_parse (GMarkupParseContext *context,
|
||||
break;
|
||||
|
||||
case STATE_INSIDE_ATTRIBUTE_NAME:
|
||||
case STATE_AFTER_ATTRIBUTE_NAME:
|
||||
set_error (context, error, G_MARKUP_ERROR_PARSE,
|
||||
_("Document ended unexpectedly inside an attribute name"));
|
||||
break;
|
||||
@ -1823,6 +1824,7 @@ g_markup_parse_context_end_parse (GMarkupParseContext *context,
|
||||
|
||||
case STATE_AFTER_CLOSE_TAG_SLASH:
|
||||
case STATE_INSIDE_CLOSE_TAG_NAME:
|
||||
case STATE_AFTER_CLOSE_TAG_NAME:
|
||||
set_error (context, error, G_MARKUP_ERROR_PARSE,
|
||||
_("Document ended unexpectedly inside the close tag for "
|
||||
"element '%s'"), current_element (context));
|
||||
|
Loading…
Reference in New Issue
Block a user