[grilo-plugins] [apple-trailers] Changed to use xmlReadMemory instead of xmlRecoverDoc
- From: Xabier Rodriguez Calvar <xrcalvar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] [apple-trailers] Changed to use xmlReadMemory instead of xmlRecoverDoc
- Date: Tue, 4 May 2010 15:50:30 +0000 (UTC)
commit 060dede743e9492f7c4eaf529cd0fd32193cf492
Author: Xabier Rodriguez Calvar <xrcalvar igalia com>
Date: Tue Apr 27 13:59:17 2010 +0200
[apple-trailers] Changed to use xmlReadMemory instead of xmlRecoverDoc
src/apple-trailers/grl-apple-trailers.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/apple-trailers/grl-apple-trailers.c b/src/apple-trailers/grl-apple-trailers.c
index 521aad1..f771801 100644
--- a/src/apple-trailers/grl-apple-trailers.c
+++ b/src/apple-trailers/grl-apple-trailers.c
@@ -298,7 +298,8 @@ xml_parse_result (const gchar *str, OperationData *op_data)
goto finalize;
}
- op_data->xml_doc = xmlRecoverDoc ((xmlChar *) str);
+ op_data->xml_doc = xmlReadMemory (str, xmlStrlen ((xmlChar*) str), NULL, NULL,
+ XML_PARSE_RECOVER | XML_PARSE_NOBLANKS);
if (!op_data->xml_doc) {
error = g_error_new (GRL_ERROR,
GRL_ERROR_BROWSE_FAILED,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]