Previously the html and pdf targets would also verify the input via
xmllint. This caused some code duplication and overloaded the targets
which an arguably unrelated task (verification).
Furthermore, something changed and the
! xmllint --nonet --noout --noent --loaddtd --xpath "//img/@src[not(starts-with(., 'data:'))]" $< 2>/dev/null && true
no fails. It seems that xmllint does no longer (?) report an error
exit status if the XPath result set is empty [1]. Therfore, this rule
is currently commented out, which fixed#1316.
1: https://gitlab.gnome.org/GNOME/libxml2/-/issues/673
As per Flow's suggestion, replace two data form fields that hold a pub-sub service address and node with one field, that uses a URI to identify the same pub-sub node.
Instead of basing Discovery of Support on the presence of a well-known pub-sub service node, an explicit Service Discovery feature is used. This prevents a scenario in which a non-administrative user flags 'opt-in' by creating the pub-sub node.
The XEP now mandates to include domain names of remote domains only after those remote domains advertise support for this XEP. This is intended as an opt-in mechanism.
Following discussion with Flow, MattJ and Jonas`, the data format was modified to:
- group connections under a remote domain
- use attributes instead of elements where appropriate
Remove ambiguity with regards to having more than one connection to a remote domain. With this update, each actual (eg TCP) connection is represented by a distinct `connection` element.
In https://github.com/xsf/xeps/pull/1300#issuecomment-1850475278 it
was said that we do not longer simply bump the copyright year
range. But keeping the copyright year at 2021 of all XEPs, including
newer ones from 2023, is also far from ideal.
So let's simply extract the copyright year from the revision
information we already have.
The Makefile was set globally to silent, which caused the failing
commands to be *not* displayed. For example
flo@neo-pc xeps-xsf $ make html
make: *** [Makefile:112: build/xep-0001.html] Error 1
Removing this provides usefull information about which command failed:
flo@neo-pc xeps-xsf $ make html
xmllint --nonet --noout --noent --loaddtd --valid "xep-0001.xml"
! xmllint --nonet --noout --noent --loaddtd --xpath "//img/@src[not(starts-with(., 'data:'))]" xep-0001.xml 2>/dev/null && true
make: *** [Makefile:110: build/xep-0001.html] Error 1
We were asked [1] to state that the XEP bibliographic data is openly
available and free of charge if we want it to be consumed by third
parties.
This weas previously merged as 747738804a ("Add license for
bibliographic data"), but unfortunately later reverted in
59b2a5ca15 ("Revert "Add license for bibliographic data"",
https://github.com/xsf/xeps/pull/1221). However, the fix for the
broken docker build is trivial: simply also copy refs-LICENSE into the
container. This commit does that.
Fixes#1219.
1: https://github.com/ietf-tools/bibxml-service/issues/302#issuecomment-1274686153