From: Peter Eisentraut Date: Tue, 15 Feb 2022 09:58:28 +0000 (+0100) Subject: Fix XML namespace declarations X-Git-Tag: REL_15_BETA1~698 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=6538be9e1e412224c69f447d2b08342ba47ce9f1;p=postgresql.git 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 Discussion: https://www.postgresql.org/message-id/flat/20220213201618.qz6p6noon3wagr3f%40alap3.anarazel.de --- diff --git a/doc/src/sgml/stylesheet-hh.xsl b/doc/src/sgml/stylesheet-hh.xsl index 1b1ab4bbe9e..6f4b706dac6 100644 --- a/doc/src/sgml/stylesheet-hh.xsl +++ b/doc/src/sgml/stylesheet-hh.xsl @@ -1,8 +1,6 @@ + version='1.0'> 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; ]> + version="1.0" + xmlns="http://www.w3.org/1999/xhtml">