Bug 839115 - Docbook 5 schema is hardcoded
Summary: Docbook 5 schema is hardcoded
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: publican
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ruediger Landmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 839113
TreeView+ depends on / blocked
 
Reported: 2012-07-11 01:59 UTC by Joshua Wulf
Modified: 2014-10-19 23:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-11 03:07:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joshua Wulf 2012-07-11 01:59:06 UTC
At the moment Publican 3's Builder.pm hardcodes the schema to be used for validation for Docbook 5:


 if ( $dtdver =~ m/^5/ ) {
        $dtd_type = qq|-//OASIS//DTD DocBook XML $dtdver//EN|;
        $dtd_path = qq|http://docbook.org/xml/$dtdver/rng/docbook.rng|;


I have a customization layer that Norm wrote for me that I'd like to be able to use (https://gist.github.com/2768701).

Can we make it possible to override the default validation schema from the xml?

Comment 1 Ruediger Landmann 2012-07-11 03:07:54 UTC
Hi Josh; this seems like handy thing to have, but I really don't want to fork the Publican we're shipping in Fedora if I can help it. Maybe open an upstream RFE in Publican itself?


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