#5411 closed defect (fixed)

French manual broken

Reported by: strk Owned by: robe
Priority: blocker Milestone: PostGIS 3.4.0
Component: l18n Version: master
Keywords: Cc:

Description

I'm not sure since when as Woodie has not been really testing lately, but the french translation is currently broken:

postgis_aggs_mm.xml:5819: element sect2: validity error : Element sect2 content does not follow the DTD, expecting (sect2info? , (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* | sect3* | simplesect*)) | refentry+ | sect3+ | simplesect+) , (toc | lot | index | glossary | bibliography)*), got (title ) 

Change History (4)

comment:1 by strk, 18 months ago

The way I understand that message is that "title " tag is not expected under "sect2" while we have that in postgis_aggs_mm.xml

Sounds like another of those spurious spaces

comment:2 by strk, 18 months ago

It wasn't a space, but lack of anything but <title> in the <sect2 id="NewFunctions_1_5">

Just adding a para there fixes the issue. I'm not sure exactly where that code is coming from. Still digging.

comment:3 by Sandro Santilli <strk@…>, 18 months ago

In ee857ca/git:

Don't allow title tag to be the only in a sect2

I'm not sure exactly why but this fixes documents checking for me.
References #5411

comment:4 by strk, 18 months ago

Resolution: fixed
Status: newclosed

Docs build is now green, the fix wasn't French-specific so I'm not sure why other languages were not failing. Maybe French just happened to be the first attempted build and stopped all the others.

See https://woodie.osgeo.org/postgis/postgis/build/434/7

Note: See TracTickets for help on using tickets.