[Yanel-commits] rev 23880 - public/yanel/trunk/src/test

michi at wyona.com michi at wyona.com
Thu Apr 19 15:50:25 CEST 2007


Author: michi
Date: 2007-04-19 15:50:23 +0200 (Thu, 19 Apr 2007)
New Revision: 23880

Modified:
   public/yanel/trunk/src/test/test-resources.xsl
Log:
check for Windows drives

Modified: public/yanel/trunk/src/test/test-resources.xsl
===================================================================
--- public/yanel/trunk/src/test/test-resources.xsl	2007-04-19 13:50:02 UTC (rev 23879)
+++ public/yanel/trunk/src/test/test-resources.xsl	2007-04-19 13:50:23 UTC (rev 23880)
@@ -36,7 +36,7 @@
   <xsl:template match="yanel:resource-type[@compile='true']">
     <xsl:variable name="srcpath">
       <xsl:choose>
-        <xsl:when test="starts-with(@src, '/')">
+        <xsl:when test="starts-with(@src, '/') or string-length(substring-before(@src, ':/'))='1'">
           <xsl:value-of select="@src"/>
         </xsl:when>
         <xsl:otherwise>




More information about the Yanel-commits mailing list