Page 1 of 1

Error creating XML File from Digiguide

Posted: Fri Jan 28, 2011 5:20 pm
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.

Re: Error creating XML File from Digiguide

Posted: Fri Jan 28, 2011 9:08 pm
by alanbirtles
try the new version from this post: viewtopic.php?f=5&t=393

Re: Error creating XML File from Digiguide

Posted: Sat Jan 29, 2011 5:21 pm
by keefb
Alan,

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