html5lib / gcode-import

Automatically exported from code.google.com/p/html5lib. Purely archival.
Other
7 stars 8 forks source link

Genshi Tree Walker Broken #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the genshi tree walker does not work.  It fails here:

Traceback (most recent call last):
  ...
  File "inmhpc\html.py", line 28, in parse_html
    return Stream(list(genshi_walker(tree)))
  File "html5lib\treewalkers\genshistream.py", line 16, in __iter__
    if previous[0] == START:
TypeError: 'DocumentType' object does not support indexing

I guess the interface of the tree walkers changed and the genshi one was
not adapted.

Original issue reported on code.google.com by ronacher...@gmail.com on 26 Nov 2009 at 7:40

GoogleCodeExporter commented 9 years ago
I can't reproduce this here. What version of Genshi are you using?

Original comment by geoffers on 2 Jan 2010 at 2:42

GoogleCodeExporter commented 9 years ago
No response. Closing.

Original comment by geoffers on 9 Apr 2013 at 10:55