Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 453513

Summary: xmlcatalog DocBook 4.4 & 4.5 references are wrong
Product: [Fedora] Fedora Reporter: Jeff Fearn 🐞 <jfearn>
Component: docbook-dtdsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 9CC: alexl
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 1.0-33.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-15 12:20:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Fearn 🐞 2008-07-01 06:20:55 UTC
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):

How reproducible:

Steps to Reproduce:
1. Make a DocBook file
2. Set the DTD to 4.5
3. run xmllint over the file
Actual results:
The 4.5 DTD gets pulled from the web.

Expected results:
The local 4.5 DTD should be used.

Additional info:
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.

Comment 1 Alex Lancaster 2008-07-11 00:52:25 UTC
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?

Comment 2 Ondrej Vasik 2008-07-11 08:02:22 UTC
*** Bug 454952 has been marked as a duplicate of this bug. ***

Comment 3 Ondrej Vasik 2008-07-11 08:21:48 UTC
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.

Comment 4 Ondrej Vasik 2008-07-11 10:07:53 UTC
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.

Comment 5 Fedora Update System 2008-07-11 11:02:32 UTC
docbook-dtds-1.0-33.fc8 has been submitted as an update for Fedora 8

Comment 6 Ondrej Vasik 2008-07-14 14:50:03 UTC
Changing component as previously looked as different bug caused by xml-common
subpackage. Original issue comes from docbook-dtds.

Comment 7 Fedora Update System 2008-07-15 12:20:00 UTC
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.