ankurpiyush26 / pubsubhubbub

Automatically exported from code.google.com/p/pubsubhubbub
Other
1 stars 0 forks source link

Ignore XML that's just bad #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Got this after trying to parse a feed:

Traceback (most recent call last):
  File
"/base/data/home/apps/pubsubhubbub/feed-ids.336557603768777282/main.py",
line 2143, in parse_feed
    feed_record.topic, format, content)
  File
"/base/data/home/apps/pubsubhubbub/feed-ids.336557603768777282/main.py",
line 2043, in find_feed_updates
    header_footer, entries_map = filter_feed(feed_content, format)
  File
"/base/data/home/apps/pubsubhubbub/feed-ids.336557603768777282/feed_diff.py",
line 220, in filter
    parser.parse(data_stream)
  File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 107,
in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/base/python_dist/lib/python2.5/xml/sax/xmlreader.py", line 125, in
parse
    self.close()
  File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 217,
in close
    self.feed("", isFinal = 1)
  File "/base/python_dist/lib/python2.5/xml/sax/expatreader.py", line 211,
in feed
    self._err_handler.fatalError(exc)
  File "/base/python_dist/lib/python2.5/xml/sax/handler.py", line 38, in
fatalError
    raise exception
SAXParseException: <unknown>:1:0: no element found

Original issue reported on code.google.com by bslatkin on 24 Sep 2009 at 6:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This was fixed a while ago.

Original comment by bslatkin on 3 Jun 2010 at 11:24