Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rhbz908563 - html xml validation causes exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed Feb 7, 2013
1 parent 0007884 commit 9c735a1
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -175,7 +175,10 @@ private ArrayList<String> listMissing(String compareFrom, String compareTo)
}
else
{
tmp = tmp.replaceFirst(node, ""); // remove matched node from
int index = tmp.indexOf(node);
String beforeNode = tmp.substring(0, index);
String afterNode = tmp.substring(index + node.length());
tmp = beforeNode + afterNode; // remove matched node from
}
result = regExp.exec(compareFrom);
}
Expand Down

0 comments on commit 9c735a1

Please sign in to comment.