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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "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-03-20 03:19:43
Message-ID: 909781.1742440783@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2025-03-20 09:53:32 BUG #18857: Abnormal string comparison results
Previous Message Tom Lane 2025-03-20 01:44:43 Re: 回复:Re: The != and +/- signs are joined together as an operator