/usr/share/xml/xhtml/schema/dtd/1.0/catalog does not declare xhtml1-strict.dtd and such

Bug #725074 reported by Gro-Tsen
18
This bug affects 3 people
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/xml/xhtml/schema/dtd/1.0 rather than /usr/share/xml/entities/xhtml where they had been residing previously. Unfortunately, by doing so, the catalog file referencing the files already in this directory was clobbered.

This means that /usr/share/xml/xhtml/schema/dtd/1.0/catalog does not reference the files xhtml1-strict.dtd, xhtml1-transitional.dtd, xhtml1-frameset.dtd and xhtml1.dcl which reside there.

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: patch
Revision history for this message
Gro-Tsen (david-madore) wrote :

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.

Gro-Tsen (david-madore)
tags: added: patch
Changed in w3c-dtd-xhtml (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.