This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] Re: Converting Docbook XML to PDF with FOP


Hi Ben, 

On Sunday 10 April 2005 12:47, Ben Branders wrote:
>
> I tried xmllint --validate document.xml and I get errors. I was able to
> fix most of them, but I can't seem to get it right in the glossary.
> This is the output of xmllint:
>
> $ xmllint --valid pandion.xml
> glossary.xml:122: element appendix: validity error : Element appendix
                            ^^^^^^^^
> content does not follow the DTD, expecting (beginpage? , appendixinfo?
> , (title , subtitle? , titleabbrev?) , (toc | lot | index | glossary |
> bibliography)* , tocchap? , (((calloutlist | glosslist | itemizedlist |
> orderedlist | segmentedlist | simplelist | variablelist | caution |
> important | note | tip | warning | literallayout | programlisting |
> programlistingco | screen | screenco | screenshot | synopsis |
> cmdsynopsis
> [...]
> What's wrong with it?
> Again, thanks for helping me. This is all quite new to me.

Your file glossary.xml contains appendix instead of glossary. If I change 
it to glossary and validate it separatly it works for me.


Tom

-- 
Thomas Schraitle <tom_schr@web.de>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]