]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make DocBook sources namespaced again
authorMichał Kępień <michal@isc.org>
Mon, 30 Nov 2020 08:33:32 +0000 (09:33 +0100)
committerMichał Kępień <michal@isc.org>
Mon, 30 Nov 2020 08:33:32 +0000 (09:33 +0100)
commitdfdd3a8a2f3015a4af111f1d6288502dda2737e1
tree2134cbd8ac94ebf949d37347d31fea145ba7471b
parent31a35b93645ab49d438cf47676ff9dc746b728a3
Make DocBook sources namespaced again

Every DocBook source document can be namespaced (DocBook 5) or
non-namespaced (DocBook 4).  The set of XSL stylesheets used for
producing an output document can also be namespaced or non-namespaced.
Namespaced source documents should be used with namespaced stylesheets
and non-namespaced source documents should be used with non-namespaced
stylesheets.  However, both stylesheet flavors contain processing rules
which allow them to be used interchangeably for any type of source
document.

Unfortunately, these processing rules became broken in version 1.79.1 of
the stylesheets, which means that non-namespaced source documents can no
longer be correctly transformed into man pages using namespaced
stylesheets and vice versa.  This problem was fixed upstream [1], but no
released version of the XSL stylesheets contains that fix yet.

Back in 2016, this problem was reported as RT #43831 and allegedly fixed
in commit 1b8ce3b3302f0afe682d04df8a1f20b4ac346fb2.  However, that fix
only helped for the non-namespaced version of the stylesheets - while
also breaking man page generation for the namespaced flavor.

Since using namespaced DocBook sources is the current best practice
(DocBook 5), make BIND DocBook sources namespaced again.  When using
version 1.79.1 or 1.79.2 of the XSL stylesheets, care must be taken to
ensure namespaced stylesheets are used for generating BIND
documentation.

[1] https://github.com/docbook/xslt10-stylesheets/issues/109
68 files changed:
bin/check/named-checkconf.docbook
bin/check/named-checkzone.docbook
bin/confgen/ddns-confgen.docbook
bin/confgen/rndc-confgen.docbook
bin/delv/delv.docbook
bin/dig/dig.docbook
bin/dig/host.docbook
bin/dig/nslookup.docbook
bin/dnssec/dnssec-dsfromkey.docbook
bin/dnssec/dnssec-importkey.docbook
bin/dnssec/dnssec-keyfromlabel.docbook
bin/dnssec/dnssec-keygen.docbook
bin/dnssec/dnssec-revoke.docbook
bin/dnssec/dnssec-settime.docbook
bin/dnssec/dnssec-signzone.docbook
bin/dnssec/dnssec-verify.docbook
bin/named/lwresd.docbook
bin/named/named.conf.docbook
bin/named/named.docbook
bin/nsupdate/nsupdate.docbook
bin/pkcs11/pkcs11-destroy.docbook
bin/pkcs11/pkcs11-keygen.docbook
bin/pkcs11/pkcs11-list.docbook
bin/pkcs11/pkcs11-tokens.docbook
bin/python/dnssec-checkds.docbook
bin/python/dnssec-coverage.docbook
bin/python/dnssec-keymgr.docbook
bin/rndc/rndc.conf.docbook
bin/rndc/rndc.docbook
bin/tools/arpaname.docbook
bin/tools/dnstap-read.docbook
bin/tools/genrandom.docbook
bin/tools/isc-hmac-fixup.docbook
bin/tools/mdig.docbook
bin/tools/named-journalprint.docbook
bin/tools/named-rrchecker.docbook
bin/tools/nsec3hash.docbook
doc/arm/Bv9ARM-book.xml
doc/arm/catz.xml
doc/arm/dlz.xml
doc/arm/dnssec.xml
doc/arm/dyndb.xml
doc/arm/libdns.xml
doc/arm/logging-categories.xml
doc/arm/managed-keys.xml
doc/arm/notes-wrapper.xml
doc/arm/notes.xml
doc/arm/pkcs11.xml
doc/misc/docbook-options.pl
doc/xsl/copyright.xsl
isc-config.sh.docbook
lib/lwres/man/lwres.docbook
lib/lwres/man/lwres_buffer.docbook
lib/lwres/man/lwres_config.docbook
lib/lwres/man/lwres_context.docbook
lib/lwres/man/lwres_gabn.docbook
lib/lwres/man/lwres_gai_strerror.docbook
lib/lwres/man/lwres_getaddrinfo.docbook
lib/lwres/man/lwres_gethostent.docbook
lib/lwres/man/lwres_getipnode.docbook
lib/lwres/man/lwres_getnameinfo.docbook
lib/lwres/man/lwres_getrrsetbyname.docbook
lib/lwres/man/lwres_gnba.docbook
lib/lwres/man/lwres_hstrerror.docbook
lib/lwres/man/lwres_inetntop.docbook
lib/lwres/man/lwres_noop.docbook
lib/lwres/man/lwres_packet.docbook
lib/lwres/man/lwres_resutil.docbook