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', '*' ],
not a bug.
"empty or not" means the element, not the lang attribute of the element...