BadZipfile "file is not a zip file"

Steve Holden steve at holdenweb.com
Tue Jan 13 01:14:57 EST 2009


webcomm wrote:
> On Jan 12, 11:53 am, "Chris Mellon" <arka... at gmail.com> wrote:
[file distribution horror story ...]
>> It's worth pointing out (although the provider probably doesn't care)
>> that this isn't really an XML document and this was a bad way of them
>> to distribute the data. If they'd used a correctly formatted XML
>> document (with the prelude and everything) with the correct encoding
>> information, existing XML parsers should have just Done The Right
>> Thing with the data, instead of you needing to know the encoding a
>> priori to extract an XML fragment.
> 
> Agreed. I can't say I understand their rationale for doing it this way.

Sadly their rationale is irrelevant to the business of making sense of
the data, which we all hope you have eventually managed to do.

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list