guile2912 / boilerpipe

Automatically exported from code.google.com/p/boilerpipe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Program does not terminate for badly formatted/syntactically incorrect HTML input

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Processing the attached file using DefaultExtractor.getText(Reader r)
2.
3.

What is the expected output? What do you see instead?
An exception of some kind was expected. Instead, the program keeps on running 
for a very long time (I killed it eventually).

What version of the product are you using? On what operating system?
Version 1.1.0 on Ubuntu 11.04

Please provide any additional information below.
The intention is to run the library on all the webpages that have been 
categorized by DMoZ. Some of the pages may have badly formatted HTML. Since the 
total number of pages is large, it would be make the job easier if the library 
threw an exception on encountering badly formatted/syntactically incorrect HTML.

Original issue reported on code.google.com by mcgill.u...@gmail.com on 6 May 2013 at 6:09

Attachments: