From: Jim Evins Date: Sun, 8 Sep 2002 15:28:31 +0000 (+0000) Subject: Now uses the new XML parser from libxml. X-Git-Tag: glabels-2_3_0~785 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da26567e0080273482f19fc8116e5940a7271626;p=glabels 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 --- 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"));