The XML file is:
<name></name>
If I parse the XML with:
String result = null;
if (parser.next() == XmlPullParser.TEXT) {
result = parser.getText();
parser.nextTag();
}
return result;
Does it return null or does it return an empty string ""
?