Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2022-02-15 09:58:28 +0000
committerPeter Eisentraut2022-02-15 10:13:49 +0000
commit6538be9e1e412224c69f447d2b08342ba47ce9f1 (patch)
tree5b7cbe68863ba7db6f1a347ae9462ef649290e3e /doc/src/sgml/stylesheet-html-common.xsl
parent3279cef0727a0fd285f3f1f459a7094acff9f629 (diff)
Fix XML namespace declarations
The XSL stylesheets used a mix of incorrect or outdated namespace declarations for XHTML, probably based on ancient advice and examples. Clean all this up. Besides improving correctness (although probably no impact in practice, other than possible validation failures), this removes a bunch of useless namespace declarations in the HTML output. Reported-by: Andres Freund <andres@anarazel.de> Discussion: https://www.postgresql.org/message-id/flat/20220213201618.qz6p6noon3wagr3f%40alap3.anarazel.de
Diffstat (limited to 'doc/src/sgml/stylesheet-html-common.xsl')
-rw-r--r--doc/src/sgml/stylesheet-html-common.xsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/stylesheet-html-common.xsl b/doc/src/sgml/stylesheet-html-common.xsl
index d9961089c65..96dd2cc038d 100644
--- a/doc/src/sgml/stylesheet-html-common.xsl
+++ b/doc/src/sgml/stylesheet-html-common.xsl
@@ -4,7 +4,8 @@
%common.entities;
]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
+ version="1.0"
+ xmlns="http://www.w3.org/1999/xhtml">
<!--
This file contains XSLT stylesheet customizations that are common to