This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: cElementTree only supports a few encodings
Type: Stage:
Components: XML Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: effbot Nosy List: effbot
Priority: normal Keywords:

Created on 2005-12-15 21:15 by effbot, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cet105.patch effbot, 2005-12-15 23:07
Messages (3)
msg27084 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2005-12-15 21:15
The cElementTree driver only supports a small number 
of XML encodings compared to ElementTree (and other 
pyexpat-based tools).  This would be nice if this was 
fixed before 2.5 final.

In the meantime, a workaround can be found here:

http://effbot.org/zone/celementtree-encoding.htm
msg27085 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2005-12-15 23:07
Logged In: YES 
user_id=38376

I've attached the relevant patch from CET 1.0.5 (in 
progress)
msg27086 - (view) Author: Fredrik Lundh (effbot) * (Python committer) Date: 2005-12-16 22:09
Logged In: YES 
user_id=38376

Fixed in revision 41724
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42698
2005-12-15 21:15:41effbotcreate