[dia] Bug 655626 - Add xlink namespace to exported shapes



commit 2c0cf294610cb86a064c3dc38b268487fea4bf5d
Author: Steffen Macke <sdteffen sdteffen de>
Date:   Sat Jul 30 12:46:01 2011 +0200

    Bug 655626 - Add xlink namespace to exported shapes

 plug-ins/shape/shape-export.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/shape/shape-export.c b/plug-ins/shape/shape-export.c
index 5d6ab8a..ca8e074 100644
--- a/plug-ins/shape/shape-export.c
+++ b/plug-ins/shape/shape-export.c
@@ -161,6 +161,7 @@ new_shape_renderer(DiagramData *data, const char *filename)
 
   renderer->svg_name_space = xmlNewNs(renderer->root,
                                       (const xmlChar *)"http://www.w3.org/2000/svg";, (const xmlChar *)"svg");
+  xmlNewNs(renderer->root, (const xmlChar *)"http://www.w3.org/1999/xlink";, (const xmlChar *)"xlink");
   renderer->doc->xmlRootNode = renderer->root;
 
   dirname = g_path_get_dirname(filename);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]