In generated wadl ref, add a leading / to the URI if missing.
Change-Id: Ie203a54d2c4c5426dd16141aa2fca3b49c7dddf8
This commit is contained in:
@@ -106,7 +106,7 @@
|
|||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:value-of select="parent::wadl:resource/@path"/>
|
<xsl:value-of select="if(not(starts-with(parent::wadl:resource/@path,'/'))) then concat('/', parent::wadl:resource/@path) else parent::wadl:resource/@path"/>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|||||||
Reference in New Issue
Block a user