Discussion:
[Xmltv-devel] [ xmltv-Bugs-3076442 ] Mismatch between DTD and XMLTV.pm
SourceForge.net
2010-09-27 10:15:44 UTC
Permalink
Bugs item #3076442, was opened at 2010-09-27 12:15
Message generated for change (Tracker Item Submitted) made by dekarl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3076442&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XMLTV.pm
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Karl Dietz (dekarl)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mismatch between DTD and XMLTV.pm

Initial Comment:
When reading xmltv files with XMLTV.pm "lang" is a required attribute for "category" but according to the DTD (and tv_grab_is) it is optional.
t_is_1_2.xml: empty string for with-lang value at /usr/share/perl5/XMLTV.pm line 1710.
t_is_1_2.xml: skipping bad category
[ 'category', 'with-lang', '*' ],
should be
[ 'category', 'with-lang/e', '*' ],
----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3076442&group_id=39046
SourceForge.net
2010-09-27 20:10:12 UTC
Permalink
Bugs item #3076442, was opened at 2010-09-27 12:15
Message generated for change (Comment added) made by dekarl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3076442&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XMLTV.pm
Group: None
Status: Closed
Resolution: Rejected
Priority: 5
Private: No
Submitted By: Karl Dietz (dekarl)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mismatch between DTD and XMLTV.pm

Initial Comment:
When reading xmltv files with XMLTV.pm "lang" is a required attribute for "category" but according to the DTD (and tv_grab_is) it is optional.
t_is_1_2.xml: empty string for with-lang value at /usr/share/perl5/XMLTV.pm line 1710.
t_is_1_2.xml: skipping bad category
[ 'category', 'with-lang', '*' ],
should be
[ 'category', 'with-lang/e', '*' ],
----------------------------------------------------------------------
Comment By: Karl Dietz (dekarl)
Date: 2010-09-27 22:10

Message:
not a bug.
"empty or not" means the element, not the lang attribute of the element...

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3076442&group_id=39046
Loading...