Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f6e0ce

Browse files
committed
docs: Work around bug in the docbook xsl stylesheets.
docbook-xsl's index generation stylesheet (autoidx.xsl) has a small bug: Itdoesn't include xlink in exclude-result-prefixes. Normally just leads to a asingle xmlns:xlink in the <div> containing the index, but because ourcustomization emits that, xmlns:xlink intead gets added to every elementoutput by autoidx.xsl below the <div>, totalling around 100kB.Adding the spurious xmlns:xlink to the <div> ourselves isn't great, but avoidsthe duplication.Reviewed-By: Peter Eisentraut <peter@eisentraut.org>Discussion:https://postgr.es/m/20220213201618.qz6p6noon3wagr3f%40alap3.anarazel.de
1 parent2523928 commit1f6e0ce

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎doc/src/sgml/stylesheet-html-common.xsl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,11 @@ set toc,title
127127
&uppercase;),
128128
substring(&primary;, 1, 1)))]"/>
129129

130-
<divclass="index">
131-
<!-- pgsql-docs: begin added stuff-->
130+
<!-- pgsql-docs: added xmlns:xlink, autoidx.xsl doesn't include xlink in
131+
exclude-result-prefixes. Without our customization that just leads to a
132+
single xmlns:xlink in this div, but because we emit it it otherwise
133+
gets pushed down to the elements output by autoidx.xsl-->
134+
<divclass="index"xmlns:xlink="http://www.w3.org/1999/xlink">
132135
<pclass="indexdiv-quicklinks">
133136
<ahref="#indexdiv-Symbols">
134137
<xsl:call-templatename="gentext">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp