* configure.in:
Changed version to 2.0pre1cvs
* libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
instead of doc->name fields when errors encountered.
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@421
f5e0f49d-192f-0410-a22d-
a8d8700d0965
+2004-02-25 Jim Evins <evins@snaught.com>
+
+ * configure.in:
+ Changed version to 2.0pre1cvs
+
+ * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
+ Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
+ instead of doc->name fields when errors encountered.
+
2004-02-21 Jim Evins <evins@snaught.com>
* data/avery-iso-templates.xml:
AC_PREREQ(2.52)
-AC_INIT(glabels, 1.93.3, http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116)
+AC_INIT(glabels, 2.0pre1cvs, http://sourceforge.net/tracker/?func=add&group_id=46122&atid=445116)
AC_CONFIG_SRCDIR(src/glabels.c)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
root = xmlDocGetRootElement (templates_doc);
if (!root || !root->name) {
g_warning ("\"%s\" is not a glabels template file (no root node)",
- templates_doc->name);
- xmlFreeDoc (templates_doc);
+ templates_doc->URL);
return templates;
}
if (!xmlStrEqual (root->name, "Glabels-templates")) {
g_warning ("\"%s\" is not a glabels template file (wrong root node)",
- templates_doc->name);
- xmlFreeDoc (templates_doc);
+ templates_doc->URL);
return templates;
}