Home Download Buy Blog Forum Support

Close Tag does not work correctly for XSL files (ST3)

Close Tag does not work correctly for XSL files (ST3)

Postby eerohele on Mon Mar 11, 2013 7:48 am

Steps to reproduce

1. Copy-paste this snippet into ST3 and set the syntax as XSL:

Code: Select all
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="pattern">
    <xsl:if test="*">
      <xsl:value-of select="Expression"/>
   
  </xsl:template>
</xsl:stylesheet>


2. Place your cursor after the <xsl:value-of select="Expression"/> tag.

3. Choose Edit > Tag > Close Tag or press Alt + . (on Windows).

Expected behavior

ST3 closes the <xsl:if> tag.

Actual behavior

ST3 closes the (already self-closed) <xsl:value-of/> tag.

Is there any way to fix this? I think the Tag package may have fixed this problem for ST2, but it doesn't seem to work with ST3.
eerohele
 
Posts: 1
Joined: Mon Mar 11, 2013 7:32 am

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 10 guests