zmxrice / boilerpipe

Automatically exported from code.google.com/p/boilerpipe
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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: