#416 Mismatch between DTD and XMLTV.pm

closed-rejected
nobody
XMLTV.pm (6)
5
2010-09-27
2010-09-27
Karl Dietz
No

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', '*' ],

Discussion

  • Karl Dietz

    Karl Dietz - 2010-09-27

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

     
  • Karl Dietz

    Karl Dietz - 2010-09-27
    • status: open --> closed-rejected
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks