alienlike/dmozparser — pull request #1 by wil (2013-03-26 01:52:36+00:00)
Title: several fixes

Hi Nathaniel,

I've made a few changes to your fork of dmozparser that you might find useful.

The first was allowing any file-like object to be passed to the parsers (I use it to pass in a file opened by the `gzip.open` call so that it can work with gzipped files directly).

The second is a bug that the content parser would truncate element content in cases where the sax parser encounters XML entities in text, e.g. "&" or quotes, and breaks up the element content into multiple `characters` calls.