Bug 167540 - version in path forces hardcoding
Summary: version in path forces hardcoding
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: docbook-dtds
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-04 21:55 UTC by Tom "spot" Callaway
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-09-05 10:06:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.