Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boilerpipe is conflicting with CyberNeko library #81

Open
GoogleCodeExporter opened this issue May 25, 2015 · 1 comment
Open

Boilerpipe is conflicting with CyberNeko library #81

GoogleCodeExporter opened this issue May 25, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant