There we go.  The test passes now.  I am missing the point why we need data
= data.strip or None(), since we already determined that data was not equal
to None.


On Thu, Feb 14, 2013 at 4:40 PM, Martín Blech <notifications@github.com>wrote:

> In xmltodict.py:
>
> > @@ -80,6 +80,8 @@ def endElement(self, name):
> >                  raise ParsingInterrupted()
> >          if len(self.stack):
> >              item, data = self.item, self.data
> > +            if data is not None:
> > +                data = data.strip()
>
> This should actually be data = data.strip() or None
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/martinblech/xmltodict/pull/16/files#r3020745>.
>
>