[gimp-web] Default to RSS 2.0, might fix bug 472393



commit b2b488fafdbc4299b6b54d534a38a8a10752cd31
Author: Michael Schumacher <schumaml gmx de>
Date:   Tue Jun 4 00:22:06 2013 +0200

    Default to RSS 2.0, might fix bug 472393

 programmatic/x_xml.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/programmatic/x_xml.py b/programmatic/x_xml.py
index 41770b7..ddf811a 100644
--- a/programmatic/x_xml.py
+++ b/programmatic/x_xml.py
@@ -179,11 +179,11 @@ class Xml:
 
 
 def header():
-  return ('<?xml version="1.0" encoding="utf-8"?>')
+  return ('<?xml version="2.0" encoding="utf-8"?>')
 
 
 def xml_(**attrs):
-  defaults = {"version" : "1.0", "encoding" : "utf-8"}
+  defaults = {"version" : "2.0", "encoding" : "utf-8"}
   a = dict(defaults)
   a.update(attrs)
   return '<?xml' + format_attrs(a) + '?>'


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