You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting the following reference into a manual page using xsltproc --nonet "http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl" "man-pages-combined.xml (libxslt 1.1.35, docbook-xsl 1.79.2), there is an ambiguous match, causing the appstream.enable to be printed twice.
This did not happen with libxslt 1.1.34 because it was not following the specification properly. libxslt 1.1.35 fixed the compliance thus revealing the issue.
We get the same result using saxon man-pages-combined.xml "http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl" (saxon 6.5.3) and it gives more info:
Recoverable error
Ambiguous rule match for /reference[1]/refentry[1]/refsection[1]/variablelist[1]/varlistentry[1]/term[1]
Matches both "d:varlistentry/d:term" on line 115 of http://docbook.sourceforge.net/release/xsl-ns/current/manpages/lists.xsl
and "*[@xlink:href]|d:ulink |d:imagedata|d:audiodata|d:videodata |d:footnote[not(ancestor::d:table)] |d:annotation|d:alt" on line 182 of http://docbook.sourceforge.net/release/xsl-ns/current/manpages/endnotes.xsl
The text was updated successfully, but these errors were encountered:
libxslt 1.1.35 fixed conflict resolution for templates to match the specification.
This uncovered a bug in docbook-xsl (docbook/xslt10-stylesheets#240),
which causes option names to be duplicated into the option descriptions.
Let’s resolve the conflict by patching the stylesheets.
Fixes: NixOS#166304
When converting the following reference into a manual page using
xsltproc --nonet "http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl" "man-pages-combined.xml
(libxslt 1.1.35, docbook-xsl 1.79.2), there is an ambiguous match, causing theappstream.enable
to be printed twice.This did not happen with libxslt 1.1.34 because it was not following the specification properly. libxslt 1.1.35 fixed the compliance thus revealing the issue.
We get the same result using
saxon man-pages-combined.xml "http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl"
(saxon 6.5.3) and it gives more info:The text was updated successfully, but these errors were encountered: