Re: [docbook-apps] invalid EPUB file when using a glossary

2014-07-31 Thread Peter Lavin
Hi Bob, Sorry, didn't reply to all first time. Attached is a truncated version of the glossary. It's xincluded as the child of a book. Thanks. On 30 July 2014 21:32, Bob Stayton b...@sagehill.net wrote: Hi Peter, Can you post the DocBook input that generated that output? Bob Stayton

Re: [docbook-apps] invalid EPUB file when using a glossary

2014-07-31 Thread Bob Stayton
Hi Peter, Yes, this is a bug. The DocBook schema allows an indexterm element between glossterm and glossdef, but those map to dt and dd, respectively, and they don't allow anything in between. The updated template (attached) puts the indexterm in the dt element. I'll check this change into

Re: [docbook-apps] invalid EPUB file when using a glossary

2014-07-31 Thread Peter Lavin
Thanks very much. On 31 July 2014 13:26, Bob Stayton b...@sagehill.net wrote: Hi Peter, Yes, this is a bug. The DocBook schema allows an indexterm element between glossterm and glossdef, but those map to dt and dd, respectively, and they don't allow anything in between. The updated

[docbook-apps] invalid EPUB file when using a glossary

2014-07-30 Thread Peter Lavin
HI, I'm attempting to validate an EPUB 3 file that contains a glossary and I'm seeing the following error for each glossary entry: ERROR: book.epub/OEBPS/db.gloss.xhtml(22,48): element a not allowed here; expected element dd or dt I'm using Epubcheck Version 3.0.1 and my style sheets are 1.78.1

Re: [docbook-apps] invalid EPUB file when using a glossary

2014-07-30 Thread Bob Stayton
Hi Peter, Can you post the DocBook input that generated that output? Bob Stayton Sagehill Enterprises b...@sagehill.net On 7/30/2014 4:04 PM, Peter Lavin wrote: HI, I'm attempting to validate an EPUB 3 file that contains a glossary and I'm seeing the following error for each glossary entry: