From: acspike Date: Sat, 5 Jan 2008 21:15:26 +0000 (+0000) Subject: fix xml prefix in Barcode; another partial fix for Bug #179770 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2ca707add0fa646269d96de450228da7e57b6ed4;p=inkscape.git fix xml prefix in Barcode; another partial fix for Bug #179770 --- 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)