Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
coutvv committed Dec 14, 2024
1 parent de71796 commit 2f64594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/groovy/xslqual.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ rules.forEach {
matchRule ->
String xpath = matchRule.xpath
String warning = matchRule.warning
XSLDocument check = new com.jcabi.xml.XSLDocument("""
com.jcabi.xml.XSLDocument check = new com.jcabi.xml.XSLDocument("""
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output method="text" omit-xml-declaration="yes" indent="no"/>
<xsl:template match="${XmlUtil.escapeXml(xpath)}">
Expand All @@ -160,7 +160,7 @@ rules.forEach {
nameFilter: ~/.*\.xsl/,
) {
file ->
XMLDocument xsl = new com.jcabi.xml.XMLDocument(file)
com.jcabi.xml.XMLDocument xsl = new com.jcabi.xml.XMLDocument(file)
String ret = check.applyTo(xsl)
if (!ret.empty) {
println " ERROR: ${file} (${ret})"
Expand Down

0 comments on commit 2f64594

Please sign in to comment.