Ubunut patch makes catalog unable to find xhtml1-strict.dtd

Bug #390604 reported by Andrea Gasparini
This bug affects 3 people
Affects Status Importance Assigned to Milestone
w3c-dtd-xhtml (Ubuntu)

Bug Description

Binary package hint: w3c-dtd-xhtml

xmlcatalog in ubuntu can't find xhtml1-strict.dtd.

The reason seems to be a change in w3c-dtd-xhtml, as it doesn't work in ubuntu:

  $ xmlcatalog /etc/sgml/catalog "-//W3C//DTD XHTML 1.0 Strict//EN"
  No entry for PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN

But with a clean Debian package it works correctly again:

  $ sudo dpkg -i w3c-dtd-xhtml_1.1-5_all.deb
  dpkg - warning: downgrading w3c-dtd-xhtml from 1.1-5ubuntu1 to 1.1-5.
  (Reading database ... 191473 files and directories currently installed.)
  Preparing to replace w3c-dtd-xhtml 1.1-5ubuntu1 (using w3c-dtd-xhtml_1.1-5_all.deb) ...
  Unpacking replacement w3c-dtd-xhtml ...
  Setting up w3c-dtd-xhtml (1.1-5) ...

  $ xmlcatalog /etc/sgml/catalog "-//W3C//DTD XHTML 1.0 Strict//EN"

Revision history for this message
Luke Plant (spookylukey) wrote :

This bug causes validate from wdg-html-validator to be useless (for me), since it has to fetch the XHTML DTD over the network for every attempt at validation.

It has been this way for over a year.
http://<email address hidden>/msg05786.html

It also results in w3c blocking scripts that use validate:

Please note that there is no other offline XHTML validator in Ubuntu or Debian

Can we please bump the Importance up?

Revision history for this message
Matteius (matteius) wrote :

Yes, I also experienced this bug on Linux classcomm-dev 2.6.35-25-server #44-Ubuntu SMP Fri Jan 21 19:09:14 UTC 2011 x86_64 GNU/Linux and was able to fix it to work with the django_output_validator written by LukePlant by manually getting the Debian package for validate and installing in. The default Ubuntu package is broke and generates the above style dtd error.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers