[publican-list] DTD Validation error - Need help

Jeff Fearn jfearn at redhat.com
Tue Jul 15 04:03:46 UTC 2014


On 07/15/2014 01:50 PM, Rajsekhar Kunnampally wrote:
> Hi,
> 
> I am getting the following DTD validation error when I run the publican build --config=publican.cfg --formats=test --langs=en-US command:
> 
> DTD Validation failed: gsg.xml:6: validity error : Element book content does not follow the DTD, expecting ((title , subtitle? , titleabbrev?)? , bookinf o? , (dedication | toc | lot | glossary | bibliography |
> preface | chapter | reference | part | article | appendix | index | setin dex | colophon)*), got (bookinfo chapter chapter section chapter chapter )
> 
> What does it imply? How do I decipher this message?

"expecting"

((title , subtitle? , titleabbrev?)?

^^ 1: zero or one of these, followed by


bookinfo?

^^ 2: zero or one of these, followed by

(dedication | toc | lot | glossary | bibliography | preface | chapter | reference | part | article | appendix | index | setindex | colophon)*

^^ 3: zero or more of these

)

But what you wrote is:

got (bookinfo chapter chapter section chapter chapter )

"section" is not in 1, 2 or 3 and so must be wrong.

Cheers, Jeff.

-- 
Jeff Fearn
Senior Software Engineer
GSS Subscriber Platform
Red Hat Pty Ltd




More information about the publican-list mailing list