pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: docs: Work around bug in the docbook xsl stylesheets.
Date: Tue, 15 Feb 2022 21:54:43 +0000
Message-ID: <E1nK5mV-0001Qu-7g@gemulon.postgresql.org> (raw)

docs: Work around bug in the docbook xsl stylesheets.

docbook-xsl's index generation stylesheet (autoidx.xsl) has a small bug: It
doesn't include xlink in exclude-result-prefixes. Normally just leads to a a
single xmlns:xlink in the <div> containing the index, but because our
customization emits that, xmlns:xlink intead gets added to every element
output by autoidx.xsl below the <div>, totalling around 100kB.

Adding the spurious xmlns:xlink to the <div> ourselves isn't great, but avoids
the duplication.

Reviewed-By: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/20220213201618.qz6p6noon3wagr3f%40alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f6e0ce3beb45f23e4774148bd654d915be8d611

Modified Files
--------------
doc/src/sgml/stylesheet-html-common.xsl | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)



Message-ID: <E1nK5mV-0001Qu-7g@gemulon.postgresql.org>
Permalink:  ../E1nK5mV-0001Qu-7g@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nK5mV-0001Qu-7g@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: docs: Work around bug in the docbook xsl stylesheets.
  In-Reply-To: <E1nK5mV-0001Qu-7g@gemulon.postgresql.org>
  References: <E1nK5mV-0001Qu-7g@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox