Bug 655621

Summary: Publican does not use local DocBook 5
Product: [Community] Publican Reporter: Laura Bailey <lbailey>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 2.3CC: jfearn, mmcallis, publican-list, rlandman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-08 03:49:15 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 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.