Commit 69a97765 authored by Guido van Rossum's avatar Guido van Rossum

Prep nsDict with the XML namespace, so we don't balk at <elem

xml:attr=""> without an xmlns declaration.
parent 00e68826
......@@ -117,7 +117,7 @@ class TALParser(XMLParser):
self.gen = gen
self.todoStack = []
self.nsStack = []
self.nsDict = {}
self.nsDict = {XML_NS: 'xml'}
self.nsNew = []
def getCode(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment