[Checkins] SVN: Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.py Make sure to get attributes corresponding to default namespace.
Malthe Borch
mborch at gmail.com
Tue Nov 25 09:49:12 EST 2008
Log message for revision 93346:
Make sure to get attributes corresponding to default namespace.
Changed:
U Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.py
-=-
Modified: Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.py
===================================================================
--- Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.py 2008-11-25 14:48:55 UTC (rev 93345)
+++ Sandbox/malthe/chameleon.genshi/src/chameleon/genshi/language.py 2008-11-25 14:49:12 UTC (rev 93346)
@@ -60,6 +60,10 @@
xhtml_attributes = utils.get_attributes_from_namespace(
self.element, config.XHTML_NS)
+
+ if self.element.prefix is None:
+ xhtml_attributes.update(utils.get_attributes_from_namespace(
+ self.element, None))
for name, value in xhtml_attributes.items():
parts = self.element.translator.split(value)
More information about the Checkins
mailing list