Bug#196001: vim: Backslash in XML attr treated specially by syntax highlighter

Gintautas Miliauskas Gintautas Miliauskas <gintas@akl.lt>, 196001@bugs.debian.org
Fri, 01 Apr 2005 13:24:14 +0300


Package: vim
Version: 1:6.3-068+1
Followup-For: Bug #196001

Hello,

vim has recently started spewing these errors every time I open an XML file:

Error detected while processing /usr/share/vim/vim63/syntax/xml.vim:
line   61:
E399: Not enough arguments: syntax region xmlString contained start=+"+ contains=xmlEntity display
line   62:
E399: Not enough arguments: syntax region xmlString contained start=+'+ contains=xmlEntity display

I believe that the patch to fix this issue is improper.  I found it at
http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/2005-March/000396.html
After reverting the change in the patch, the error messages are now
gone.  I tested with an empty .vimrc just in case it's a local
configuration problem, but I could reproduce the same errors.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-custom
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to lt_LT.UTF-8)

Versions of packages vim depends on:
ii  dpkg                        1.10.27      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgpmg1                    1.19.6-19    General Purpose Mouse - shared lib
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  vim-common                  1:6.3-068+1  Vi IMproved - Common files

-- no debconf information