added handling of unexpected tags

This commit is contained in:
Lieblich, Jonathan 2018-10-15 15:37:42 -06:00
parent a7ace58712
commit 0af9ccc990

View file

@ -1015,6 +1015,8 @@ public class DashManifestParser extends DefaultHandler
source = xpp.nextText();
} else if (XmlPullParserUtil.isStartTag(xpp, "Copyright")) {
copyright = xpp.nextText();
} else {
maybeSkipTag(xpp);
}
} while (!XmlPullParserUtil.isEndTag(xpp, "ProgramInformation"));
return new ProgramInformation(title, source, copyright, moreInformationURL, lang);