519
519
errors = g_new0 (struct errorCtxt, 1);
520
520
errors->msg = fpc->feed->parseErrors;
526
debug1 (DEBUG_PARSING, "xml_parse_feed(): invalid UTF-8 encoding while parsing \"%s\"!", fpc->subscription->node->title);
527
g_string_append_printf (fpc->feed->parseErrors, _("Invalid encoding in feed \"%s\"!"), fpc->subscription->node->title);
530
522
fpc->doc = xml_parse (fpc->data, (size_t)fpc->dataLength, fpc->recovery, errors);
532
debug1 (DEBUG_PARSING, "xmlReadMemory: could not parse feed \"%s\"!", fpc->subscription->node->title);
524
debug1 (DEBUG_PARSING, "xml_parser_feed(): could not parse feed \"%s\"!", fpc->subscription->node->title);
533
525
g_string_prepend (fpc->feed->parseErrors, _("XML Parser: Could not parse document:\n"));
534
526
g_string_append (fpc->feed->parseErrors, "\n");