/usr/share/xml/xhtml/schema/dtd/1.0/catalog does not declare xhtml1-strict.dtd and such
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
w3c-dtd-xhtml (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: w3c-dtd-xhtml
On 2008-02-04, Ubuntu (in the person of one Onkar Shinde) made a change to the package w3c-dtd-xhtml over the Debian version 1.1-5 of it, creating version 1.1-5ubuntu1, in order to install files such as xhtml-lat1.ent in the directory /usr/share/
This means that /usr/share/
The practical consequence is that on Ubuntu this completely breaks the program "validate" from the package wdg-html-validator when trying to validate an XHTML 1.0 file: it does not look for the xhtml1 declaration and DTD locally, so it tries to fetch them from the Web, and the W3C server refuses to serve them to such automated tools for whatever reason.
I will try to provide a patch if I can understand how SGML catalog installation works, but the simplest fix is just to revert to the Debian version.
tags: | added: patch |
Changed in w3c-dtd-xhtml (Ubuntu): | |
status: | New → Confirmed |
I believe the attached patch fixes the problem. At least, I'm sure it makes validate work correctly on XHTML 1.0 files, and I'm pretty sure it can't do any harm.