Bug 167540

Summary: version in path forces hardcoding
Product: [Fedora] Fedora Reporter: Tom "spot" Callaway <tcallawa>
Component: docbook-dtdsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-05 10:06:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom "spot" Callaway 2005-09-04 21:55:59 UTC
Description of problem:

By putting the version in the path to the DTDs, it makes it difficult for
programs to consistently find the location of the dtd when generating docs. Some
apps work around this by pulling the dtd from the network, but this doesn't work
in the Fedora Extras buildsystem where we don't have network access.

The obvious workaround would be to create symlinks alongside the fully versioned
path, for example:

/usr/share/sgml/docbook/xml-dtd-4.2-1.0-27/docbookx.dtd ->
/usr/share/sgml/docbook/xml-dtd-4.2/docbookx.dtd

Then, applications looking for the 4.2 dtd can specify it, but not have to
hardcode the version.

Comment 1 Tim Waugh 2005-09-05 10:06:44 UTC
Don't put a system ID in.  Use the public ID, and the XML catalogs will find the
right DTD for you.