boilerpipe icon indicating copy to clipboard operation
boilerpipe copied to clipboard

Boilerpipe is conflicting with CyberNeko library

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

What steps will reproduce the problem?
1. if boilerpipe is at a higher precedence than CyberNeko library, then it will 
cause parsing issue on user input with unbalanced tags
2.
3.

What is the expected output? What do you see instead?
Given this unbalanced HTML input 
{"$version":"<maven>project.version</maven>","pmg":false,"list":[null],"entityLi
st":[]}, CyberNeko should return the correct DOM tree
Child 1: [#text: {"$version":"]
Child 2: [maven: null]
Child 3: [#text: ","pmg":false,"list":[null],"entityList":[]}]

However, after having boilerpipe jar libray placed at a higher precedence, it 
will produce the following wrong results
Child 1: [#text: {"$version":"]
Child 2: [html: null]
Child 3: [body: null]

The root cause is the boilerpipe has copied HTMLElements and HTMLTagBalancer 
from CyberNeko. Please remove these 2 classes from boilerpipe jar

Additional information can be found at this blog (written in simplified 
chinese) 
http://sandomingo.github.io/blog/2014/04/26/duplicate-class-in-different-jar/

What version of the product are you using? On what operating system?

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Oct 2014 at 6:09

GoogleCodeExporter avatar Mar 24 '15 10:03 GoogleCodeExporter

Duplicate of https://code.google.com/p/boilerpipe/issues/detail?id=62

Original comment by [email protected] on 19 Nov 2014 at 9:38

GoogleCodeExporter avatar Mar 24 '15 10:03 GoogleCodeExporter