Checking for explicit empty string instead of empty function in
XMLParser