Pedro,

It’s telling you that there are errors in the docbook markup. The line numbers 
are useless because the build system assembles all of the chapters into a 
single file and then does its processing on that file.

1) a stray CDATA  before the title at the beginning of some chapter.
2) 2 title elements in a section
3) 3 <sect2> elements with no <sect1> parent. 

Regards,
John Ralls


> On Oct 10, 2026, at 9:21 AM, Pedro Albuquerque <[email protected]> wrote:
> 
> Hello,
> 
> Trying to update the docs, I get the below error after running make check 
> from /build dir. 
> 
> Can anybody point me to what is wrong here, please?
> 
> /home/pmra/Programa%C3%A7%C3%A3o/gnucash-docs/src/pt/guide/index.docbook:20: 
> element chapter: validity error : Element chapter content does not follow the 
> DTD, expecting (beginpage? , chapterinfo? , (title , subtitle? , 
> titleabbrev?) , (toc | lot | index | glossary | bibliography)* , tocchap? , 
> (((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)+ , 
> (sect1* | refentry* | simplesect* | section*)) | sect1+ | refentry+ | 
> simplesect+ | section+) , (toc | lot | index | glossary | bibliography)*), 
> got (CDATA title para sect1 sect1 sect1 sect1 sect2 sect2 sect2 sect2 sect2 
> sect2 sect1 sect1 sect1 chapter chapter )
> /home/pmra/Programa%C3%A7%C3%A3o/gnucash-docs/src/pt/guide/index.docbook:892: 
> element sect1: validity error : Element sect1 content does not follow the 
> DTD, expecting (sect1info? , (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* | sect2* | simplesect*)) | 
> refentry+ | sect2+ | simplesect+) , (toc | lot | index | glossary | 
> bibliography)*), got (title title para para tip )
> /home/pmra/Programa%C3%A7%C3%A3o/gnucash-docs/src/pt/guide/index.docbook:18: 
> element chapter: validity error : Element chapter content does not follow the 
> DTD, expecting (beginpage? , chapterinfo? , (title , subtitle? , 
> titleabbrev?) , (toc | lot | index | glossary | bibliography)* , tocchap? , 
> (((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)+ , 
> (sect1* | refentry* | simplesect* | section*)) | sect1+ | refentry+ | 
> simplesect+ | section+) , (toc | lot | index | glossary | bibliography)*), 
> got (title para sect2 sect2 sect2 )
> Document /home/pmra/Programação/gnucash-docs/src/pt/guide/index.docbook does 
> not validate
> make[3]: *** [pt/guide/CMakeFiles/pt-guide-check.dir/build.make:96: 
> pt/guide/CMakeFiles/pt-guide-check] Erro 3
> make[2]: *** [CMakeFiles/Makefile2:2551: 
> pt/guide/CMakeFiles/pt-guide-check.dir/all] Erro 2
> make[1]: *** [CMakeFiles/Makefile2:456: CMakeFiles/check.dir/rule] Erro 2
> 
> 
> ---
> Regards,
> Pedro Albuquerque
> Join Starlink
> _______________________________________________
> gnucash-devel mailing list
> [email protected]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to