Use gssize for -1 acceptable argument
Remove needless strlen()

g_markup_parse_context_parse() does it.