From da26567e0080273482f19fc8116e5940a7271626 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 8 Sep 2002 15:28:31 +0000 Subject: [PATCH] Now uses the new XML parser from libxml. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@99 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels1/src/label.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glabels1/src/label.c b/glabels1/src/label.c index 73d3ab3e..c33f97cb 100644 --- a/glabels1/src/label.c +++ b/glabels1/src/label.c @@ -168,6 +168,7 @@ gl_label_open_xml (glLabel ** label, xmlDocPtr doc; glLabelStatus status; + xmlUseNewParser (TRUE); doc = xmlParseFile (filename); if (!doc) { WARN (_("xmlParseFile error")); @@ -192,6 +193,7 @@ gl_label_open_xml_buffer (glLabel ** label, xmlDocPtr doc; glLabelStatus status; + xmlUseNewParser (TRUE); doc = xmlParseDoc ((xmlChar *) buffer); if (!doc) { WARN (_("xmlParseFile error")); -- 2.39.5