XMLTv Plugin & Invalid XML file:Length cannot be less than zero. (1 Viewer)

Heina

MP Donator
  • Premium Supporter
  • February 4, 2008
    166
    20
    49
    Windhoek, Namibia
    Home Country
    South Africa South Africa
    When I try to import my tv guide, I get the following status:

    Xmltv: imported 76 channels, 370 programs status:tvguide.xml:Invalid XML file:Length cannot be less than zero.

    I have looked through the forums, but neither of the issues dealing with this error seem to apply to me.

    Can somebody maybe have a look at my .xml file and see if conforms?

    Thanx
    Hein
     

    Heina

    MP Donator
  • Premium Supporter
  • February 4, 2008
    166
    20
    49
    Windhoek, Namibia
    Home Country
    South Africa South Africa
    xmltv bug found

    If there are actually people out there, I found the following bug in the xmltv plugin.

    When you try to import a file with an empty episode-num tag eg: <episode-num system="xmltv_ns"></episode-num>

    the plugin will fall over telling you nothing but:
    2008-11-07 18:13:06.158000 [XmlTvImporter]: XML tv import error loading C:\xmltv\tvguide.xml err:Length cannot be less than zero.
    Parameter name: length
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at TvEngine.XMLTVImport.Import(String fileName, Boolean showProgress)
     

    Users who are viewing this thread

    Top Bottom