Bug#481203: vim-runtime: xslt syntax does not work

arno renevier arenevier at fdn.fr
Wed May 14 14:04:56 UTC 2008


Package: vim-runtime
Version: 1:7.1.293-3
Severity: normal

Hi,
when opening a file with .xsl extension, syntax is nearly non existent:
only specific xslt keywords are highlighted, but default xml syntax is not
applied.

For the moment, as a workaround, I have replaced "runtime syntax/xml.vim" with
"doau FileType xml" in /usr/share/vim/vim71/syntax/xslt.vim

I'll attach an example .xsl file for testing purpose.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22custom
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim                          1:7.1.293-3 Vi IMproved - enhanced vi editor
ii  vim-gtk [vim]                1:7.1.293-3 Vi IMproved - enhanced vi editor -

-- no debconf information
-------------- next part --------------
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" 
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method="xml"
   doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
   doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
   encoding="iso-8859-1"/>

        <xsl:template match="/">

      <html>
      <head>
      <title>title</title>
      <body>

      <div/>

          </body></html>
        </xsl:template>

</xsl:stylesheet>


More information about the pkg-vim-maintainers mailing list