Accepting request 1034839 from Documentation:Tools
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1034839 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/daps?expand=0&rev=50factory
commit
2bb1bee9ce
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:394c3f0417accca5e2119335a39bc1b7ac0964d7fe0e2ed5e349ba6eead880e3
|
||||
size 4393335
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:78f1a66d19cea21d30c3979ba16b85baf005f6d84b7bcf8fb8c974dc283a97d5
|
||||
size 3722248
|
@ -1,35 +0,0 @@
|
||||
From a58f0f58a318f795bdfe763ea8fc5a5d69ec1cfd Mon Sep 17 00:00:00 2001
|
||||
From: Tom Schraitle <toms@suse.de>
|
||||
Date: Tue, 11 Oct 2022 08:30:47 +0200
|
||||
Subject: [PATCH] Fix #676: Add priority=0 in xi:include/@*
|
||||
|
||||
For libxslt >=1.1.35, the default selection strategy has been changed
|
||||
(see GNOME/libxslt@b0074ee).
|
||||
|
||||
In libxslt >=1.1.35, the XSLT processor changed the resolution strategy.
|
||||
It gets two template rules (xi:include/@href and xi:include/@*) with the
|
||||
same priority (0.5). That's why we need to lower the priority to zero
|
||||
for xi:include/@*
|
||||
---
|
||||
daps-xslt/profiling/base-profile.xsl | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/daps-xslt/profiling/base-profile.xsl b/daps-xslt/profiling/base-profile.xsl
|
||||
index 819224e5f..474489662 100644
|
||||
--- a/daps-xslt/profiling/base-profile.xsl
|
||||
+++ b/daps-xslt/profiling/base-profile.xsl
|
||||
@@ -218,7 +218,12 @@
|
||||
</xsl:attribute>
|
||||
</xsl:template>
|
||||
|
||||
-<!-- Remove any non-XInclude attributes -->
|
||||
-<xsl:template match="xi:include/@*" mode="profile" />
|
||||
+<!-- Remove any non-XInclude attributes
|
||||
+
|
||||
+ Issue #676: add priority="0" to overwrite default priority of 0.5 -> 0
|
||||
+ The recovery strategy has changed in libxslt >=1.1.35
|
||||
+ See https://www.w3.org/TR/1999/REC-xslt-19991116#conflict
|
||||
+-->
|
||||
+<xsl:template match="xi:include/@*" mode="profile" priority="0" />
|
||||
|
||||
</xsl:stylesheet>
|
@ -1,11 +1,11 @@
|
||||
addFilter("explicit-lib-dependency libxml2")
|
||||
addFilter("explicit-lib-dependency libxslt")
|
||||
addFilter("explicit-lib-dependency liberation-fonts")
|
||||
#addFilter("explicit-lib-dependency liberation-fonts")
|
||||
#addFilter("non-executable-script .*/daps/lib/daps_functions")
|
||||
addFilter("non-executable-script .*/daps/lib/*")
|
||||
#addFilter("non-executable-script .*/daps/lib/*")
|
||||
# false positive
|
||||
addFilter("no-manual-page-for-binary daps-init")
|
||||
#addFilter("no-manual-page-for-binary daps-init")
|
||||
# internally used only, no man page needed
|
||||
addFilter("no-manual-page-for-binary daps-auto.pl")
|
||||
addFilter("no-manual-page-for-binary daps-xmlformat")
|
||||
addFilter("no-manual-page-for-binary daps-check-deps")
|
||||
#addFilter("no-manual-page-for-binary daps-auto.pl")
|
||||
#addFilter("no-manual-page-for-binary daps-xmlformat")
|
||||
#addFilter("no-manual-page-for-binary daps-check-deps")
|
||||
|
Loading…
Reference in New Issue