Re: BUG #18760: ../doc/src/sgml/postgres.sgml:24: element book: validity error : No declaration for attribute id of

From: Andrey Teplitskiy <a(dot)teplitskiy(at)postgrespro(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: thomas(dot)petazzoni(at)bootlin(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18760: ../doc/src/sgml/postgres.sgml:24: element book: validity error : No declaration for attribute id of
Date: 2025-09-11 14:34:13
Message-ID: aec674c4-5c14-4f86-b519-5d006d75d15f@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

This error occurs because the docbook-xsl package is missing, which is
required in the documentation. After installation, the build is
performed correctly.

> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
>> The only error that really matters here is:
>> I/O error : Attempt to load network entity:
>> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
>> ../doc/src/sgml/postgres.sgml:22: warning: failed to load external entity "
>> http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
>> Everything else stems from that.
> Ah, indeed. Our docs are fairly clear[1] that you need a
> locally-installed copy of the DocBook DTDs to build the docs.
> It used to be the case that xmllint and friends could pull down
> the DTDs using the given URL, but that stopped working a couple
> of years ago[2]. (Experimenting just now by removing the -nonet
> switches, it seems like the failure symptoms are a bit different than
> they were in 2023. But it still fails, so the details are academic,
> except maybe to someone who could fix www.oasis-open.org. Which is
> not us.)
>
>>> Passing -Ddocs=disabled -Ddocs_pdf=disabled does not fix the issue:
> If real, that's a bug in our Meson scripts, but evidence seems lacking.
>
> regards, tom lane
>
> [1] https://www.postgresql.org/docs/current/docguide-toolsets.html
> [2] https://www.postgresql.org/message-id/flat/CAJ7c6TO8Aro2nxg%3DEQsVGiSDe-TstP4EsSvDHd7DSRsP40PgGA%40mail.gmail.com
>
>
>
>
--
Andrey Teplitskiy
Postgres Professional

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Dilip Kumar 2025-09-11 14:47:24 Re: BUG #19047: pg_last_wal_replay_lsn() returns non-NULL after pg_promote()
Previous Message Laurenz Albe 2025-09-11 13:24:40 Re: PostgreSQL Windows Turkish Search Problem