# HG changeset patch # User Paul Boddie # Date 1333059973 -7200 # Node ID 7bf591e67fbdb1ba799d36859607b6d15ee152c9 # Parent c27598946b4cc04b9878139af664c50aaab8f94e Changed the handler invocation to employ the current text fragments list as well as the current element's textual content. diff -r c27598946b4c -r 7bf591e67fbd xmlread.py --- a/xmlread.py Thu Mar 29 22:35:06 2012 +0200 +++ b/xmlread.py Fri Mar 30 00:26:13 2012 +0200 @@ -56,7 +56,7 @@ for n in (name, None): handler = self.handlers.get(n) if handler: - handler(name, self.elements, self.attributes, "".join(self.text[-1])) + handler(name, self.elements, self.attributes, self.text, "".join(self.text[-1])) break # vim: tabstop=4 expandtab shiftwidth=4