Re: elementtree.ElemenTree barfs on my Safari Cookies file

2005-11-13 Thread skip
Fredrik> that apple's tools are able to generate bogus XML is a known Fredrik> problem; for a discussion and some workarounds, see the "Status Fredrik> of XML 1.1 processing in Python" over at the xml-sig mailing Fredrik> list: Fredrik> http://aspn.activestate.com/ASPN/Mai

Re: elementtree.ElemenTree barfs on my Safari Cookies file

2005-11-13 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > Safari stores its cookies in XML format. Looking to try and add support for > it to cookielib I started by first trying to parse it with Fredrik Lundh's > elementtree package. It complained about an invalid token. Looking at the > spot it indicated in the file, I foun

Re: elementtree.ElemenTree barfs on my Safari Cookies file

2005-11-12 Thread skip
skip> I had no trouble decoding that string as unicode. *sigh* I need some new proofreading glasses. Should be "... string as utf-8". S -- http://mail.python.org/mailman/listinfo/python-list