Comment 1 for bug 142117

Revision history for this message
Christian Theune (ctheune) wrote :

Ok, I did a bit more research on that and found the splitting beeing the problem. Line 78 of Traversable.py tells us, that type(u"asdf") is not a StringType and so it is only converted into a list so that the NamespaceStack looks like [u"asdf"].

Another hint: string.split(u"asdf") won't work too. But u"asdf".split() works fine.

At the moment i can't create a patch, as I don't know how to make a good use of checking for subclasses of string, because strings and unicode strings don't have a __class__ attribute.