From: Jan S. <ja...@ho...> - 2011-11-20 14:24:03
|
Zitat von Karl Dietz <de...@sp...>: > On 20.11.2011 14:03, Carsten Aulbert wrote: >> Hi >> >> On Saturday 19 November 2011 19:46:25 Carsten Aulbert wrote: >>> not well-formed (invalid token) at line 112, column 161, byte 4468 at >>> /usr/lib/perl5/XML/Parser.pm line 187 >>> at /usr/bin/tv_grab_eu_epgdata line 355 >>> at /usr/bin/tv_grab_eu_epgdata line 355 >> >> I've dug a bit deeper and it seems that epgdata has some "unprotected"& ni >> the listings, e.g. >> >> <d19>Geld& Leben - Das Wirtschaftsmagazin</d19> >> >> Am I right, that this should need to be "masked" to read&? > > Yes, you cannot have an ampersand without some encoding in xml. > >> And what would be the correct way to move forward? > > The fixup is easy. Just replace every "& " with "& " and tell your > data provider that their xml is invalid. I have informed epgdata.com already that they produce invalid markup at the moment. They didn't get back to me yet though. For the time being, here's some hotfix (it won't match the line numbers exactly). Jan. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ |