Skip to content
Snippets Groups Projects
Commit 7f146576 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'f-fix-xls-crash' into 'dev'

FIX xsl crash

See merge request !149
parents 062b4fd6 c095a4b1
No related branches found
No related tags found
2 merge requests!150Release 0.15.2,!149FIX xsl crash
Pipeline #61412 passed
...@@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### ### Fixed ###
* [#271](https://gitlab.com/linkahead/linkahead-webui/-/issues/271)
Removed an unused parameter redefinition from query.xsl.
### Security ### ### Security ###
### Documentation ### ### Documentation ###
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
--> -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/> <xsl:output method="html"/>
<xsl:param name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'"/>
<xsl:param name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
<xsl:template match="ParseTree" mode="query-results"> <xsl:template match="ParseTree" mode="query-results">
<xsl:apply-templates select="ParsingError"/> <xsl:apply-templates select="ParsingError"/>
</xsl:template> </xsl:template>
...@@ -314,7 +312,6 @@ ...@@ -314,7 +312,6 @@
<!-- handle anything but attributes and properties --> <!-- handle anything but attributes and properties -->
<xsl:param name="first-segment"/> <xsl:param name="first-segment"/>
<xsl:param name="next-segments"/> <xsl:param name="next-segments"/>
<xsl:choose> <xsl:choose>
<xsl:when test="@*[translate($first-segment, $uppercase, $lowercase)=name()]"> <xsl:when test="@*[translate($first-segment, $uppercase, $lowercase)=name()]">
<!--handle attributes--> <!--handle attributes-->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment