Error creating XML File from Digiguide

Discussion of Version 3 and developing lua grabbers
Post Reply
keefb
Posts: 2
Joined: Sat Jan 22, 2011 6:27 pm

Error creating XML File from Digiguide

Post by keefb »

I have been using XMLTV GUI V3.1.4 with Stephan's importer for Sage TV since it was released. Today I was unable to import the XML file. If I open the XML file using TVG viewer it says "there is an error in the document (88736,22).

Stephan's log file gives the following:

20110128 12:59:10.117 - Info - Import Started
20110128 12:59:14.164 - Info - Processing XMLTV Source: Digiguide
20110128 12:59:14.164 - Info - Loading XMLTV File: D:\shares\Public\digiguide.xml
20110128 12:59:14.711 - Error - Unable to parse XMLTV File 'D:\shares\Public\digiguide.xml': Reference to undeclared entity 'Amp'. Line 113693, position 22.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg, Int32 lineNo, Int32 linePos)
at System.Xml.XmlTextReaderImpl.HandleGeneralEntityReference(String name, Boolean isInAttributeValue, Boolean pushFakeEntityIfNullResolver, Int32 entityStartLinePos)
at System.Xml.XmlTextReaderImpl.ResolveEntity()
at System.Xml.XmlLoader.LoadEntityReferenceNode(Boolean direct)
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at LMGestion.XMLTVImporter.XMLTVImporter.DoImport()

If I use DG2XML to create the XML file then the import works.
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Error creating XML File from Digiguide

Post by alanbirtles »

try the new version from this post: viewtopic.php?f=5&t=393
keefb
Posts: 2
Joined: Sat Jan 22, 2011 6:27 pm

Re: Error creating XML File from Digiguide

Post by keefb »

Alan,

Many thanks for the prompt reply. That one did the trick.
Post Reply