2010-09-02, 09:21 PM
I don't know if it is an illegal character in the EPG XML or a parsing error but I get the following error box with this in the log when mapping DVB-T channels to the EPG. Manually removing the & - ampersand character fixes it.
Code:
2010-09-02 22:07:37.586 [ERROR][1] Unexpected error parsing xmltv file: System.Xml.XmlException: An error occurred while parsing EntityName. Line 42243, position 164.
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.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 NextPVR.Settings.ChannelDetailsForm.LoadXmltvFile()
Code:
<programme start="20100910164500 +0100" stop="20100910173000 +0100" channel="UK_RT_1994">
<title lang="en">Flog It!</title>
<sub-title lang="en">series 9</sub-title>
<sub-title lang="en">Malvern</sub-title>
<desc lang="en">series 9
Kate Bateman and Adam Partridge value items in the spa town of Malvern, Worcestershire, including a wooden top toy and old coins that could be worth thousands of £s. Presenter Paul Martin meets a local man who has been making violins for 40 years and tries his hand at woodwork.</desc>
<credits>
<director>Phil Kerswell</director>
</credits>
<category lang="en">Factual</category>
<length units="minutes">45</length>
<video>
<aspect>16:9</aspect>
</video>
<subtitles type="teletext">
<language lang="en">English</language>
</subtitles>
</programme>