[mythtv-commits] Ticket #8686: Error reporting for invalid xml

MythTV mythtv at cvs.mythtv.org
Fri Jul 23 00:01:13 UTC 2010

#8686: Error reporting for invalid xml
 Reporter:  Nick King <penguin@…>                 |       Owner:  stuartm   
     Type:  patch                                 |      Status:  new       
 Priority:  trivial                               |   Milestone:  unknown   
Component:  MythTV - Mythfilldatabase             |     Version:  Trunk Head
 Severity:  low                                   |     Mlocked:  0         
 The current datadirect handler assumes that the XML data received from
 schedulesdirect is valid, and silently ignores when it fails to parse the
 file correctly.  I have spent the past 4 days trying to determine why
 mythfilldatabase was failing to grab data.  After examining the raw data
 from schedulesdirect, I discovered that the XML data was missing an
 opening tag (causing a tag mismatch, which causes the parser to exit).
 The attached patch causes an error line to be printed when the parser
 returns false (occurs when the parser encounters an unexpected EOF or
 invalid XML).

Ticket URL: <http://svn.mythtv.org/trac/ticket/8686>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list