[mythtv-commits] Ticket #13293: Parse config.xml as an XML document

MythTV noreply at mythtv.org
Mon Jun 25 09:40:06 UTC 2018


#13293: Parse config.xml as an XML document
----------------------------------+----------------------------------------
 Reporter:  Nick Morrott          |          Owner:  Bill Meek <billmeek@…>
     Type:  Bug Report - General  |         Status:  closed
 Priority:  minor                 |      Milestone:  unknown
Component:  Bindings - Perl       |        Version:  Master Head
 Severity:  low                   |     Resolution:  fixed
 Keywords:  perl xml config       |  Ticket locked:  0
----------------------------------+----------------------------------------

Comment (by Bill Meek <billmeek@…>):

 In [changeset:"9c5ad458b6bd1c1979326f891ab0d1d6419609f9/mythtv"
 9c5ad458b/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="9c5ad458b6bd1c1979326f891ab0d1d6419609f9"
 Perl bindings: Actually parse config.xml

 From the users list, where a line in config.xml was
 'commented out' using a # rather than <!-- xxx -->.
 Neither of which worked using the old method.

 Potential problem if XML::Simple isn't available
 in all distributions. Only Debian/Ubuntu/Mythbuntu
 were checked and libxml-simple-perl was there.

 Also, removes all references to the old mysql.txt
 DB..... names.

 For reference: https://stackoverflow.com/questions/33267765/why-is-
 xmlsimple-discouraged
 probably doesn't apply here as config.xml is truly
 simple.

 Closes #13293
 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13293#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list