Bug 655621 - Publican does not use local DocBook 5
Summary: Publican does not use local DocBook 5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.3
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-22 01:18 UTC by Laura Bailey
Modified: 2010-12-08 03:49 UTC (History)
4 users (show)

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-12-08 03:49:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Bailey 2010-11-22 01:18:05 UTC
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):
publican-2.3-0.fc13.noarch


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-22 03:02:03 UTC
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-08 03:49:15 UTC
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.