Open GoogleCodeExporter opened 9 years ago
I narrowed down the error slightly.
Using VisualFizzler (neat tool!) I can see that everything up to line 282 is
selectable (for example "#siteNav").
But after line 283, I can't select anything (for example "div.topToolBox").
So the issue has to do with long lines like on line 283 of that pastebin
example.
Original comment by portman....@gmail.com
on 6 Apr 2011 at 7:59
Sure enough, when I remove this line (#283) from the HTML, everything works
perfectly. It's pathologically long (51,553 characters in fact!!) so this is
probably a defect in one of the underlying framework classes that Fizzler is
using.
In the meantime, I've changed my code to chop long lines at 1024 characters
before handing off to Fizzler, and everything is working again. But you still
might want to investigate what precisely is going wrong on that long line, so
I'll keep the issue open.
Original comment by portman....@gmail.com
on 6 Apr 2011 at 8:08
We're using HTMLAgilityPack so it's probably an issue there, but it should be
fairly trivial to swap out HTMLAgilityPack for another parser. It could also be
that this issue has been fixed by a more recent version of HTMLAgilityPack than
the one in the download.
Original comment by info%colinramsay.co.uk@gtempaccount.com
on 7 Apr 2011 at 1:48
Original issue reported on code.google.com by
portman....@gmail.com
on 6 Apr 2011 at 7:36