summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41fca8f)
raw | patch | inline | side by side (parent: 41fca8f)
| author | mental <mental@users.sourceforge.net> | |
| Mon, 8 May 2006 17:18:19 +0000 (17:18 +0000) | ||
| committer | mental <mental@users.sourceforge.net> | |
| Mon, 8 May 2006 17:18:19 +0000 (17:18 +0000) |
| ChangeLog | patch | blob | history | |
| src/xml/repr-util.cpp | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index bba684187b8e4a6b17c8d4315b15cbca5c69698a..49f2ee0bad56b7c92883dd7506a317223725b007 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2006-05-08 MenTaLguY <mental@rydia.net>
+
+ * src/xml/repr-util.cpp:
+
+ comments explaining namespace mapping for the broken sodipodi namespace
+
2006-05-08 Carl Hetherington <inkscape@carlh.net>
* src/seltrans.cpp, src/snap.cpp, src/snap.h: fix ctrl-scaling
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp
index bc39710349228cd7e1128a31ebf7abe2ce557f14..3a6b9aee45e7c3b192388f45d0ac0611a4542966 100644 (file)
--- a/src/xml/repr-util.cpp
+++ b/src/xml/repr-util.cpp
defaults[6].prefix = g_quark_from_static_string("dc");
defaults[6].next = &defaults[7];
+ // Inkscape versions prior to 0.44 would write this namespace
+ // URI instead of the correct sodipodi namespace; by adding this
+ // entry to the table last (where it gets used for URI -> prefix
+ // lookups, but not prefix -> URI lookups), we effectively transfer
+ // elements in this namespace to the correct sodipodi namespace:
+
defaults[7].uri = g_quark_from_static_string(SP_BROKEN_SODIPODI_NS_URI);
defaults[7].prefix = g_quark_from_static_string("sodipodi");
defaults[7].next = NULL;