On 2024-04-25 15:40 +0200, Jürgen Purtz wrote:
> On 25.04.24 13:24, Jürgen Purtz wrote:
> >
> > On 25.04.24 11:24, Alvaro Herrera wrote:
> > > On 2024-Apr-12, Erik Wienhold wrote:
> > >
> > > > There's this bug[1] in the DocBook XSLT stylesheets. Looks like the
> > > > fix[2] landed in 1.79.2 (latest version on Arch,
> > > Maybe one of these days we should get going with the migration to
> > > Docbook 5.x that Jürgen Purtz proposed.
> > >
> > > https://postgr.es/m/21ed3fd9-9020-4b53-b04f-a08a831b6085@purtz.de
> > >
> > > In the meantime, if anyone wants to suggest a XSLT patch to carry in our
> > > local definition, we could try that.
> > >
> > Great recommendation. I may have time in the second half of June to
> > pursue the migration further. There is a performance problem, which
> > possibly results from our XSLT script that optimizes the
> > transformation-speed and works well in 4.x.
> >
> ... or do we have a problem with the fact that our xml files are not
> well-formed? Some of them contain more than one root-element:
>
> xmllint --noout *.sgml ref/*.sgml 2> >(grep Extra)
No, those files are not processed as standalone documents but are
transcluded into postgres-full.xml from which postgres.html is then
generated. And postgres-full.xml is well-formed according to xmllint.
--
Erik