Trim whitespace from cdata, work with pretty-printed XML.

This commit is contained in:
Paul Sokolovsky 2011-06-23 01:57:49 +03:00
parent 223ad42959
commit 34064fde90

View File

@ -86,6 +86,9 @@ public class RepoXMLHandler extends DefaultHandler {
super.endElement(uri, localName, qName);
String curel = localName;
String str = curchars;
if (str != null) {
str = str.trim();
}
if (curel.equals("application") && curapp != null) {
// Log.d("FDroid", "Repo: Updating application " + curapp.id);