April 7, 2015
5:48 a.m.
Jens Tröger schrieb am 07.04.2015 um 01:02:
https://github.com/lxml/lxml/blob/master/src/lxml/xsltext.pxi#L105
there is a check of output_parent for None in line 105, but not in line 111 where the crash (assert) is triggered in the callee. Should that be c_parent instead of output_parent in line 111?
Yes, definitely. Want to prepare a pull request? A test for this would be helpful, as it's quite clearly untested code. Stefan