Commit 4604f988 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Bump the xml version to v3. (xml_probe) : Handle v[123].

2000-05-07  Jody Goldberg <jgoldberg@home.com>

	* src/xml-io.c (xml_workbook_write) : Bump the xml version to v3.
	(xml_probe) : Handle v[123].
parent e156f6e7
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_workbook_write) : Bump the xml version to v3.
(xml_probe) : Handle v[123].
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
......
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_workbook_write) : Bump the xml version to v3.
(xml_probe) : Handle v[123].
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
......
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_workbook_write) : Bump the xml version to v3.
(xml_probe) : Handle v[123].
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
......
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_workbook_write) : Bump the xml version to v3.
(xml_probe) : Handle v[123].
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
......
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_workbook_write) : Bump the xml version to v3.
(xml_probe) : Handle v[123].
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
......
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_workbook_write) : Bump the xml version to v3.
(xml_probe) : Handle v[123].
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
......
2000-05-07 Jody Goldberg <jgoldberg@home.com>
* src/xml-io.c (xml_workbook_write) : Bump the xml version to v3.
(xml_probe) : Handle v[123].
2000-05-07 Jon K Hellan <hellan@acm.org>
* src/dialogs/Makefile.am: dialog-printer.[ch] have been
......
......@@ -2823,9 +2823,9 @@ xml_workbook_write (parse_xml_context_t *ctxt, Workbook *wb)
if (cur == NULL)
return NULL;
if (ctxt->ns == NULL) {
gmr = xmlNewNs (cur, "http://www.gnome.org/gnumeric/v2", "gmr");
xmlSetNs(cur, gmr);
ctxt->ns = gmr;
gmr = xmlNewNs (cur, "http://www.gnome.org/gnumeric/v3", "gmr");
xmlSetNs(cur, gmr);
ctxt->ns = gmr;
}
oldlocale = g_strdup (setlocale (LC_NUMERIC, NULL));
......@@ -3049,6 +3049,8 @@ xml_probe (const char *filename)
gmr = xmlSearchNsByHref (res, res->root, "http://www.gnome.org/gnumeric/");
if (gmr == NULL)
gmr = xmlSearchNsByHref (res, res->root, "http://www.gnome.org/gnumeric/v2");
if (gmr == NULL)
gmr = xmlSearchNsByHref (res, res->root, "http://www.gnome.org/gnumeric/v3");
if (res->root->name == NULL || strcmp (res->root->name, "Workbook") || (gmr == NULL)){
xmlFreeDoc (res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment