Hi, I have downloaded an XML file through XMLTV GUI V3.14 and it has an error;
<programme start="20110121170000 +0000" stop="20110121172500 +0000" channel="UK_RT_482">
<title lang="en">Tracy Beaker Returns</title>
<desc lang="en">How this light but moving drama continues to deliver entertainment with punch is little short of miraculous. After more than 140 episodes it's as good as ever. This week, when everyone hears the story of two African brothers who have been left at the Dumping Ground, they decide to hide them in the attic in case anyone comes to send them home£&133;.</desc>
&133 is not valid and causes the following error in perl
not well-formed (invalid token) at line ...
and a similar error in java
Any chance of a fix? I can't correct it in perl via an XML parser as it crashes the parser (apparently this is what it is supposed to do).
Invalid XML
Re: Invalid XML
Correction, have fixed in perl by parsing as a text file. But it still should be fixed at source, i.e. in XMLTV
Anthony
Anthony
-
- Site Admin
- Posts: 495
- Joined: Mon Sep 06, 2004 4:44 pm
Re: Invalid XML
That was quick, and it works! Thanks
<programme start="20110121170000 +0000" stop="20110121172500 +0000" channel="UK_RT_482">
<title lang="en">Tracy Beaker Returns</title>
<desc lang="en">How this light but moving drama continues to deliver entertainment with punch is little short of miraculous. After more than 140 episodes it's as good as ever. This week, when everyone hears the story of two African brothers who have been left at the Dumping Ground, they decide to hide them in the attic in case anyone comes to send them home&133;.</desc>
<programme start="20110121170000 +0000" stop="20110121172500 +0000" channel="UK_RT_482">
<title lang="en">Tracy Beaker Returns</title>
<desc lang="en">How this light but moving drama continues to deliver entertainment with punch is little short of miraculous. After more than 140 episodes it's as good as ever. This week, when everyone hears the story of two African brothers who have been left at the Dumping Ground, they decide to hide them in the attic in case anyone comes to send them home&133;.</desc>
Re: Invalid XML
Hi, this is causing me problems loading the data into GBPVR's EPG. Manually removing " &133 " from the data file solves the problem as a temp fix. From how I read the posts above Alan already has a fix for this but following the link asks for a password. I have registered and activated on the site but still can't get in to get the fix. What am I doing wrong? (using ie 8 shows site certificate out of date to which I am answering carry on I trust the site or does it take a while for my new account to become fully active?) Advanced thanks for any help!
-
- Site Admin
- Posts: 495
- Joined: Mon Sep 06, 2004 4:44 pm
Re: Invalid XML
see the sticky post for login details
Re: Invalid XML
Alan,
thanks for the guidance, need to put more effort into my reading in future! That's solved the problem. Thanks for a speedy update to your super reliable program, to fix a problem caused by someone else's programming
Marc
thanks for the guidance, need to put more effort into my reading in future! That's solved the problem. Thanks for a speedy update to your super reliable program, to fix a problem caused by someone else's programming
Marc
Re: Invalid XML
Thanks for this, works now using the main program. However i have the XMLTVConsole running as scheduled each day, the console is generating the same invalid entrys in the xml.alanbirtles wrote:try https://www.birtles.org.uk/svn/xmltv/co ... ltvGUI.exe
Any ideas.?
Thankyou
Edit: OK No worries set up a scheduled task in windows 7, to run main progarm with the /grab /silent args and all works perfectly.
Thanks for a great app.