[PATCH] Fix mix reference on UDDF export

Miika Turkia miika.turkia at gmail.com
Sat Dec 13 06:24:39 PST 2014


The mix value must be concatenated properly.

Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 xslt/uddf-export.xslt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt
index 32f363c..cd05c64 100644
--- a/xslt/uddf-export.xslt
+++ b/xslt/uddf-export.xslt
@@ -465,7 +465,7 @@
             <xsl:attribute name="ref">
               <xsl:choose>
                 <xsl:when test="@o2 != ''">
-                  <xsl:value-of select="'mix' + substring-before(@o2, '.')"/>
+                  <xsl:value-of select="concat('mix', substring-before(@o2, '.'))"/>
                 </xsl:when>
                 <xsl:otherwise>
                   <xsl:value-of select="'mix21'"/>
-- 
1.9.1



More information about the subsurface mailing list