Bug 839128
Summary: | Docbook 5 schema is hardcoded | ||
---|---|---|---|
Product: | [Community] Publican | Reporter: | Joshua Wulf <jwulf> |
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.0 | CC: | lcarlon, rglasz, rlandman+disabled, sgordon, xma |
Target Milestone: | 3.1 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 3.1.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-06 03:40:52 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 839113 |
Description
Joshua Wulf
2012-07-11 04:37:13 UTC
This fix has been committed to the devel branch for inclusion in Publican 3.1. Added dtd_type and dtd_uri parameters, which can be set in brands, to override the strings Publican generates. Hi Jeff, does this belong in defaults.cfg, overrides.cfg or publican.cfg in the brand (or some combination of these)? Thinking about it more I think as a brand setting the answer must be publican.cfg in the brand but I will test to be sure. In a brand publican.cfg affects packaging the brand itself. defaults.cfg & overrides.cfg affect books using that brand. In this case you want the brand to control what happens in the books, so either defaults.cfg or overrides.cfg will do. Verify version:publican-3.1.0-0.el6eng.noarch -> PASS Verify steps: 1. $Publican create_brand --name=test --lang=en-US 2. Add dtd_type and dtd_uri parameters in defaults.cfg of brand, set dtd_uri to https://gist.github.com/2768701 and dtd_type to -//OASIS//DTD DocBook XML 5.0//EN 3. Build the brand and install it to /usr/share/publican/Common_Content/ 4. Create a book and set brand: test in publican.cfg. 5. Build the book, then check tmp/en-US/*.xml Actual results: Validation schema for Docbook 5 have been changed to what we set. |