Pedro, Focus on your diff: CI proves that whatever is in the repo is good, so the problem is what you’ve changed. `git diff` will display must what you’ve changed. You can commit hunks you’re sure are OK and stash the rest to further isolate the source of the problem. Run `ninja check` after the stash to make sure that what you committed really is OK. Then pop the stash and commit some more and stash again until you’ve got the failing diff down to a few lines.
The source of the error probably isn’t marked with the CDATA keyword, you’d know if you typed that. It could be text outside of any element or a typo when making a closing tag: In particular the characters `]]>` designate the *end* of a CDATA segment and the parser might flag that and any preceding text as CDATA even if there’s no introductory `<!CDATA[[`. Regards, John Ralls > On Oct 10, 2026, at 23:34, Pedro Albuquerque <[email protected]> wrote: > > Ok, I figured out two of those. > > Not sure if guide/ch_accts.docbook is correct. Ii is declared as chapter, but > starts with a <sect1>. > > I now understand, there is a 'expected..got' pair in that mess, thank you > John. > > But I can´t find CDATA anywhere. From gnucash-docs/src/pt, I tried 'grep > -riEl "cdata" .' with zero results. 'grep -riEl "data.*title" .' gives two > results, but not related. 'grep -riEl ">.*data" .' also not related. > > Any suggestions, please? > > ----- > Regards, > Pedro Albuquerque > Join StarLink <https://starlink.com/?referral=RC-DF-11719992-38576-14> Proton > Mail <https://proton.me/mail/home> > > Em 11/10/2026 às 00:56, John Ralls <[email protected] > <mailto:[email protected]>> escreveu: > 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]> > > <mailto:<[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] <mailto:[email protected]> > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > _______________________________________________ > 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
