Bug 839115 - Docbook 5 schema is hardcoded
Docbook 5 schema is hardcoded
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: publican (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ruediger Landmann
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 839113
  Show dependency treegraph
 
Reported: 2012-07-10 21:59 EDT by Joshua Wulf
Modified: 2014-10-19 19:01 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-07-10 23:07:54 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Joshua Wulf 2012-07-10 21:59:06 EDT
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-10 23:07:54 EDT
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.