2007-09-08, 08:25 PM
Hello,
I'm in the process of upgrading from GBPVR v0.99.12 w/ Zap2It to v1.0.16 w/ SchedulesDirect. SchedulesDirect is providing bad HTML entities in its guide data, and GBPVR v1.0.16 throws an exception on the first such error encountered. The net result is that I am unable to load guide data into GBPVR using the in-built SchedulesDirect guide capability.
I have updated GBPVR with the patches included in the v1.0.16 survival guide thread.
The specific error message thrown by GBPVR is:
Line 28340 of the guide data file is:
Additionally, other malformed entities also exist in the file about a dozen additional times:
Is it possible to either:
Please advise.
Thanks,
-Bill
I'm in the process of upgrading from GBPVR v0.99.12 w/ Zap2It to v1.0.16 w/ SchedulesDirect. SchedulesDirect is providing bad HTML entities in its guide data, and GBPVR v1.0.16 throws an exception on the first such error encountered. The net result is that I am unable to load guide data into GBPVR using the in-built SchedulesDirect guide capability.
I have updated GBPVR with the patches included in the v1.0.16 survival guide thread.
The specific error message thrown by GBPVR is:
Code:
Error UpdateEPG()'ing: System.Xml.XmlException: An error occurred while parsing EntityName. Line 28340, position 12.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at GBPVR.Backend.Common.Zap2itEpgReader.x7174d5399cba81ee(IEpgUpdateProgressCallback x421ce789b9741187, DateTime xdc88f59e43b65f7f, DateTime x33db96d2cea26583)
at GBPVR.Backend.Common.Zap2itEpgReader.LoadChannels(IEpgUpdateProgressCallback callback)
at GBPVR.Backend.Common.xbdfb880686f2538b.x52e8ddd0b9bc8c68(xda34526142ca690b x347261624b519e9a, IEpgUpdateProgressCallback x421ce789b9741187)
at Config.xca74b9c9b310df0b.xcba1f05fb5a46d5f()
Line 28340 of the guide data file is:
Code:
<surname>O&se.</surname>
Additionally, other malformed entities also exist in the file about a dozen additional times:
Code:
<role>The Morning Show With Mike &am</role>
Is it possible to either:
- Update GBPVR to gracefully handle malformed HTML entities and continue to load the guide data?
- Run a batch file (e.g., which calls HTML Tidy) in between when the guide data is downloaded from SchedulesDirect and actually loaded by GBVPR?
Please advise.
Thanks,
-Bill