Re: fixing bookindex.html bloat

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2022-02-14T22:06:20Z
Lists: pgsql-hackers

Attachments

On 14.02.22 18:31, Peter Eisentraut wrote:
> Yeah, that is currently clearly wrong.  It appears I originally copied 
> the wrong namespace declarations from examples that show how to 
> customize the DocBook stylesheets, but those examples were apparently 
> wrong or outdated in this respect.  It seems we also lack some namespace 
> declarations altogether, as shown by your need to add it to 
> stylesheet-html-common.xsl.  This appears to need some careful cleanup.

The attached patch cleans up the xhtml namespace declarations properly, 
I think.

For the xlink business, I don't have a better idea than you, so your 
workaround proposal seems fine.

Commits

  1. docs: Work around bug in the docbook xsl stylesheets.

  2. Fix XML namespace declarations