[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787178: wdg-html-validator: Remove w3c-dtd-xhtml reference from d/control



On Fri, 29 May 2015 14:04:28 +0200 Mathieu Malaterre <malat@debian.org>
wrote:
> Please remove reference to w3c-dtd-xhtml from debian/control. This
> package will be removed for stretch (see #711332), it has been
> superseded by w3c-sgml-lib.

I just had a look again at wdg-html-validator, this time for real :-)

The validate and cgi-bin/validate.pl scripts (perhaps even more bits)
hardcode paths to /etc/sgml/sgml-data.cat, /etc/sgml/w3c-dtd-xhtml.cat
as well as many .dcl/.decl files provided by the w3c-dtd-xhtml and
sgml-data packages. These locations are already patched in the Debian
package since upstream assumes a different layout.
w3c-sgml-lib ships files with (hopefully) the same functionality but in
different locations and named differently.
The proper way to locate the needed files is probably via
/etc/sgml/catalog and not hardcoding them ... that might even add
support for new standards automatically.
At least for the validate script a new upstream release is available
(1.2.3 from 2011 vs 1.2.2 in the package).

That's too much work for a quick QA upload.


Andreas


Reply to: