Skip to content

Commit

Permalink
Emergency fix to test generator stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelhkay committed Oct 23, 2024
1 parent ca9fa36 commit 96ac3fd
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,13 @@
<xsl:choose>
<xsl:when test="fos:result/@normalize-space eq true()">
<xsl:variable name="stripped">
<xsl:apply-templates select="parse-xml(fos:result)" mode="strip-space"/>
<xsl:try>
<xsl:apply-templates select="parse-xml(fos:result)" mode="strip-space"/>
<xsl:catch>
<xsl:message expand-text="1">** Failure in parse-xml on fos:result of {$fos-function/@name}-{$n}</xsl:message>
<substitute-for-unparseable-result-xml/>
</xsl:catch>
</xsl:try>
</xsl:variable>
<assert-xml ignore-prefixes="{(fos:result/@ignore-prefixes, false())[1]}">{serialize($stripped)}</assert-xml>
</xsl:when>
Expand Down

0 comments on commit 96ac3fd

Please sign in to comment.