Skip to content

Commit 8e324ab

Browse files
committed
[bugfix] xml-apis is not explicitly used by the eXist-db XQuery Image Module
1 parent bb19f7d commit 8e324ab

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

exist-xqts/src/main/xslt/compare-results.xslt

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@
105105
<xsl:param name="current-results" as="element(cr:results)" required="yes"/>
106106
<xsl:param name="attr-name" as="xs:string" required="yes"/>
107107
<xsl:variable name="elem-name" as="xs:QName" select="xs:QName(concat('cr:', $attr-name))"/>
108+
<xsl:variable name="previous-results-names" as="xs:string*" select="$previous-results/element()[node-name(.) eq $elem-name]/testcase/@name/string(.)"/>
108109
<xsl:element name="cr:{$attr-name}">
109-
<xsl:apply-templates mode="simple" select="$current-results/element()[node-name(.) eq $elem-name]/testcase[@name except $previous-results/element()[node-name(.) eq $elem-name]/testcase/@name]"/>
110+
<xsl:apply-templates mode="simple" select="$current-results/element()[node-name(.) eq $elem-name]/testcase[not(@name = $previous-results-names)]"/>
110111
</xsl:element>
111112
</xsl:function>
112113

extensions/modules/image/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
<!-- needed for running tests that depend on file module -->
111111
<ignoredUnusedDeclaredDependency>org.exist-db:exist-file:jar:${project.version}</ignoredUnusedDeclaredDependency>
112112
</ignoredUnusedDeclaredDependencies>
113+
114+
<ignoredUsedUndeclaredDependencies>
115+
<ignoredUsedUndeclaredDependency>xml-apis:xml-apis:jar</ignoredUsedUndeclaredDependency>
116+
</ignoredUsedUndeclaredDependencies>
113117
</configuration>
114118
</execution>
115119
</executions>

0 commit comments

Comments
 (0)