xslt error logs are gone since 2012
Bug #1551797 reported by
Marcus Brinkmann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxml |
Fix Released
|
Medium
|
scoder |
Bug Description
Hi,
I finally debugged a problem that locked us on lxml 2.3.5: xslt errors where spuriously absent from the error log in some situations. Turns out that revision 850144 "efactored error log connection into a context manager, added support for recursive usage of different logs" (Apr 7 14:51:20 2012) by Stefan Behnel broke this, because it only registers an xml error handler and not the one for xslt.
The attached patch fixes this, in addition to adding a test case for it.
Changed in lxml: | |
status: | Fix Committed → New |
Changed in lxml: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I applied your patch and repaired it here:
https:/ /github. com/lxml/ lxml/commit/ 079c1d452d0f0ae 3826b73f59b6fd6 a9b9d5dcf3