-
-
Notifications
You must be signed in to change notification settings - Fork 904
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
failing test (on jruby): css search problem involving whitespace and … #1320
Conversation
What is status? flavorjones/loofah#88 (comment) says this is Rails 4.2 with JRuby. |
As I wrote at flavorjones/loofah#94 (comment), I cannot understand loofah and nokogiri support policy. |
Looking at this now. |
@kares If you are looking for important JRuby work, this issue is currently blocking Loofah and Rails on JRuby. I've pushed the branch |
seems like a xalan bug to me - not sure about the 'best' work-around (since Xalan is no longer maintained). |
`RuntimeException: Could not resolve the node to a handle`
resolves sparklemotion#1319 (test borrowed from @jkraemer) adjusted test for sparklemotion#1320 to be a little more complex
…node removal
The problem seems to occur only when due to removal of a node surrounded by whitespace two consecutive text nodes are left behind. In that case a css search for the remaining element ends up in a DTM exception:
Since it might have been related I already tried replacing all uses of internal com.sun API with the official Xalan API, adding the 2.7.2 Xalan jars as per #1212, but it didn't help with this problem (and still caused the same errors mentioned there).