Skip to content

Commit

Permalink
[bugfix] xml-apis is not explicitly used by the eXist-db XQuery Image…
Browse files Browse the repository at this point in the history
… Module
  • Loading branch information
adamretter committed May 23, 2023
1 parent bb19f7d commit 8e324ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exist-xqts/src/main/xslt/compare-results.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@
<xsl:param name="current-results" as="element(cr:results)" required="yes"/>
<xsl:param name="attr-name" as="xs:string" required="yes"/>
<xsl:variable name="elem-name" as="xs:QName" select="xs:QName(concat('cr:', $attr-name))"/>
<xsl:variable name="previous-results-names" as="xs:string*" select="$previous-results/element()[node-name(.) eq $elem-name]/testcase/@name/string(.)"/>
<xsl:element name="cr:{$attr-name}">
<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]"/>
<xsl:apply-templates mode="simple" select="$current-results/element()[node-name(.) eq $elem-name]/testcase[not(@name = $previous-results-names)]"/>
</xsl:element>
</xsl:function>

Expand Down
4 changes: 4 additions & 0 deletions extensions/modules/image/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@
<!-- needed for running tests that depend on file module -->
<ignoredUnusedDeclaredDependency>org.exist-db:exist-file:jar:${project.version}</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>

<ignoredUsedUndeclaredDependencies>
<ignoredUsedUndeclaredDependency>xml-apis:xml-apis:jar</ignoredUsedUndeclaredDependency>
</ignoredUsedUndeclaredDependencies>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 8e324ab

Please sign in to comment.