From 2ca707add0fa646269d96de450228da7e57b6ed4 Mon Sep 17 00:00:00 2001 From: acspike Date: Sat, 5 Jan 2008 21:15:26 +0000 Subject: [PATCH] fix xml prefix in Barcode; another partial fix for Bug #179770 --- share/extensions/Barcode/Base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/extensions/Barcode/Base.py b/share/extensions/Barcode/Base.py index ccfca0093..866d80e9e 100644 --- a/share/extensions/Barcode/Base.py +++ b/share/extensions/Barcode/Base.py @@ -111,7 +111,7 @@ class Barcode: text.set( 'x', str(int(self.x) + int(barwidth / 2)) ) text.set( 'y', str(int(self.height) + 10 + int(self.y)) ) text.set( 'style', 'font-size:' + self.fontSize() + 'px;text-align:center;text-anchor:middle;' ) - text.set( 'xml:space', 'preserve' ) + text.set( '{http://www.w3.org/XML/1998/namespace}space', 'preserve' ) text.set( 'id', name + '_bottomtext' ) text.text = str(self.label) -- 2.30.2