View Issue Details

IDProjectCategoryView StatusLast Update
0012906mantisbtdocumentationpublic2014-12-08 02:07
Reporterdregad Assigned Todhx  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.0dev 
Target Version1.3.0-beta.1 
Summary0012906: Admin Guide docbook fails to build
Description

Using publican v1.6.3, I am not able to build the admin_guide book.

It fails with the following error

$ publican build --config=publican.cfg --langs=en-US --formats=html,pdf
Setting up en-US
Processing file tmp/en-US/xml/Common_Content/Conventions.xml -> tmp/en-US/xml/Common_Content/Conventions.xml
[...]
Beginning work on en-US
Validation failed:
Configuration.xml:180: validity error : Element section content does not follow the DTD, expecting (sectioninfo? , (title , subtitle? , titleabbrev?) , (toc | lot | index | glossary | bibliography) , (((calloutlist | glosslist | bibliolist | itemizedlist | orderedlist | segmentedlist | simplelist | variablelist | caution | important | note | tip | warning | literallayout | programlisting | programlistingco | screen | screenco | screenshot | synopsis | cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis | constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara | para | simpara | address | blockquote | graphic | graphicco | mediaobject | mediaobjectco | informalequation | informalexample | informalfigure | informaltable | equation | example | figure | table | msgset | procedure | sidebar | qandaset | task | anchor | bridgehead | remark | highlights | abstract | authorblurb | epigraph | indexterm | beginpage)+ , (refentry | section | simplesect)) | refentry+ | section+ | simplesect+) , (toc | lot | index | glossary | bibliography)*), got (title )

Tagspatch
Attached Files
0001-Fix-Publican-validation-failure-for-Admin-Guide-buil.patch (880 bytes)   
From 05e15aa36f90dc6976c6c48e879a771ad15850e8 Mon Sep 17 00:00:00 2001
From: Damien Regad <damien.regad@merckserono.net>
Date: Mon, 4 Apr 2011 17:55:25 +0200
Subject: [PATCH] Fix Publican validation failure for Admin Guide build

A required tag was missing tag under Webserver section in Configuration.xml.
Added an empty <para> as a workaround
---
 docbook/Admin_Guide/en-US/Configuration.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/docbook/Admin_Guide/en-US/Configuration.xml b/docbook/Admin_Guide/en-US/Configuration.xml
index 6566915..4d3cef3 100644
--- a/docbook/Admin_Guide/en-US/Configuration.xml
+++ b/docbook/Admin_Guide/en-US/Configuration.xml
@@ -161,6 +161,7 @@
 
     <section id="admin.config.webserver">
         <title>Webserver</title>
+        <para></para>
     </section>
 
     <section id="admin.config.settings">
-- 
1.7.1

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

dregad

dregad

2011-04-04 12:09

developer   ~0028522

There seems to be a missing tag under the Webserver section. I added an empty <para> and no longer get the error when building. Patch attached

dhx

dhx

2011-04-05 09:21

reporter   ~0028531

Thanks Damien, patch applied.

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036460

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch