Bug 655621 - Publican does not use local DocBook 5
Publican does not use local DocBook 5
Product: Publican
Classification: Community
Component: publican (Show other bugs)
Unspecified Unspecified
low Severity medium
: ---
: ---
Assigned To: Jeff Fearn
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-11-21 20:18 EST by Laura Bailey
Modified: 2010-12-07 22:49 EST (History)
4 users (show)

See Also:
Fixed In Version: 2.4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-12-07 22:49:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Laura Bailey 2010-11-21 20:18:05 EST
This issue has two parts:
1) Specifying "dtdver: 5.0" in publican.cfg does not work - "dtdver: 5.0a1" is required, or an is_valid error is encountered:

is_valid: argument must be a DTD object at /usr/share/perl5/Publican/Builder.pm line 619.

2) Publican does not appear to use the local DocBook 5.x schema (docbook5-schema package), instead searching for the remote schema. There may be some issue with the path to the oasis-open schema; the docbook.org schema path seems to work.

Version-Release number of selected component (if applicable):

Expected results:
Publican uses local schema, and preferably prints a list of schema versions that should be used with "dtdver" in publican.cfg, or includes this list in the documentation.
Comment 1 Jeff Fearn 2010-11-21 22:02:03 EST
DocBook 5 uses different formats for the DTD strings, added logic to output the correct DocBook5 strings when dtdver >= 5.

Fixed in build: 2.3-0%{?dist}.t26
Comment 2 Jeff Fearn 2010-12-07 22:49:15 EST
Publican 2.4 has shipped with a fix for this issue.

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