[librsvg: 10/20] Add release notes about namespace support and strictness



commit b769a5c1c29a8ae53878038f47c0b2b354486299
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Oct 25 10:01:03 2019 -0500

    Add release notes about namespace support and strictness

 NEWS | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
---
diff --git a/NEWS b/NEWS
index 2fd72255..ed10446f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,22 @@
 Version 2.47.0
 
+- Librsvg's XML parser now supports namespaces (xmlns), and is
+  stricter than before about it.  Files may fail to parse if there are
+  attributes or elements with namespace prefixes (e.g. foo:bar instead
+  of plain bar), but without a corresponding namespace declaration
+  (e.g. xmlns:foo="http://example.com/foo";).
+
+  This may happen especially with incorrectly-written SVGs that use
+  xlink:href attributes without an xlink namespace declaration.  If
+  you run into this, just add
+  xmlns:xlink="http://www.w3.org/1999/xlink"; to your toplevel SVG
+  element:
+
+      <svg xmlns="http://www.w3.org/2000/svg";
+           xmlns:xlink="http://www.w3.org/1999/xlink";>
+
+           ^^^^^^^^^^^ this one
+
 - Patterns and gradients reused across more than one element will only
   get resolved once now; this should make things marginally faster for
   patterns or gradients with fallbacks.


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