added handling of unexpected tags

parent a7ace587
...@@ -1015,6 +1015,8 @@ public class DashManifestParser extends DefaultHandler ...@@ -1015,6 +1015,8 @@ public class DashManifestParser extends DefaultHandler
source = xpp.nextText(); source = xpp.nextText();
} else if (XmlPullParserUtil.isStartTag(xpp, "Copyright")) { } else if (XmlPullParserUtil.isStartTag(xpp, "Copyright")) {
copyright = xpp.nextText(); copyright = xpp.nextText();
} else {
maybeSkipTag(xpp);
} }
} while (!XmlPullParserUtil.isEndTag(xpp, "ProgramInformation")); } while (!XmlPullParserUtil.isEndTag(xpp, "ProgramInformation"));
return new ProgramInformation(title, source, copyright, moreInformationURL, lang); return new ProgramInformation(title, source, copyright, moreInformationURL, lang);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment