Ubuntu

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

Reported by Andrea Gasparini on 2009-06-22
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
w3c-dtd-xhtml (Ubuntu)
Undecided
Unassigned

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"
  /usr/share/xml/xhtml/schema/dtd/1.0/xhtml1-strict.dtd

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:
https://lists.ubuntu.com/archives/ubuntu-motu/2009-July/005967.html

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

Can we please bump the Importance up?

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  Edit
Everyone can see this information.

Other bug subscribers