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

From Tom Lane
Subject Re: BUG #18760: ../doc/src/sgml/postgres.sgml:24: element book: validity error : No declaration for attribute id of
Date
Msg-id 909781.1742440783@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #18760: ../doc/src/sgml/postgres.sgml:24: element book: validity error : No declaration for attribute id of  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-bugs
"David G. Johnston" <david.g.johnston@gmail.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



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: 回复:Re: The != and +/- signs are joined together as an operator
Next
From: PG Bug reporting form
Date:
Subject: BUG #18857: Abnormal string comparison results