Red Hat Bugzilla – Bug 453513
xmlcatalog DocBook 4.4 & 4.5 references are wrong
Last modified: 2008-07-15 08:20:02 EDT
Description of problem:
The DocBook 4.4 entries in /usr/share/sgml/docbook/xmlcatalog points to the
DocBook 4.5 files, and the 4.5 entries are missing.
This causes the 4.5 DTD to be fetched from the net for net enabled programs and
causes programs with net access disabled (e.g. yelp) to die.
This also means that 4.4 validation is incorrect.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make a DocBook file
2. Set the DTD to 4.5
3. run xmllint over the file
The 4.5 DTD gets pulled from the web.
The local 4.5 DTD should be used.
This makes it extremely frustrating to build DocBook 4.5 documentation on
Fedora. The DTD doesn't get cached so further builds re-fetch the DTD :(
This bug probably affects F8 which also shipped with the DocBook 4.5 DTD.
I see something similar but with DocBook 4.2 DTDs (bug #454952) i.e. resolution
doesn't work and it attempts to pull from the net could this be related?
*** Bug 454952 has been marked as a duplicate of this bug. ***
Thanks for report. It is not problem of docbook-dtds and it is not affecting
F-8. Problem is in recent update of sgml-common (in fact xml-common) package. As
was requested in bug #453271 I marked catalogs/etc/xml/catalog and
/usr/share/sgml/docbook/xmlcatalog from xml-common package as verify(not md5
size mtime). This showed old buggy behaviour of xml-common - each update of
/usr/share/sgml/docbook/xmlcatalog file causes replacing old full xmlcatalog
file filled by Docbook DTDs locations with completely empty one. As this file is
filled by post of docbook-dtds subpackage, yum reinstall docbook-dtds solves the
issue. I fixed the issue in rawhide, so it should not happen once more time in
future (now symlinked and marked config(noreplace)), but making update of
xml-common to fix that will break everything once more time. Sorry for troubles,
closing DEFERRED because it is fixed in RAWHIDE but fix for F9 will cause
additional troubles. Please use yum reinstall docbook-dtds as workaround in F9.
I'm quiet sure that docbook 4.5 entries exists and should work properly.
Sorry, got confused by the previous(and several rawhide reports) - this one
issue is obviously caused by typo in docbook-dtds scriplet. Will do an
docbook-dtds update which should fix both issues.
docbook-dtds-1.0-33.fc8 has been submitted as an update for Fedora 8
Changing component as previously looked as different bug caused by xml-common
subpackage. Original issue comes from docbook-dtds.
docbook-dtds-1.0-33.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.