[mythtv-commits] Ticket #13293: Parse config.xml as an XML document
MythTV
noreply at mythtv.org
Mon Jun 11 00:37:43 UTC 2018
#13293: Parse config.xml as an XML document
--------------------------------------+-----------------------------
Reporter: Nick Morrott | Owner: (none)
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Bindings - Perl | Version: Master Head
Severity: low | Keywords: perl xml config
Ticket locked: 0 |
--------------------------------------+-----------------------------
The Perl bindings read the lines of config.xml as plain text strings,
extracting the values of desired elements using matching (m##) and regex
captures.
Ideally we would parse the document as XML and extract values directly
from the data structure created by the XML parser.
Depending on the XML library(ies) used, this would also permit the
configuration file to be validated against a suitable DTD/Schema.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13293>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list