Package: zsh Version: 4.3.17-1 Severity: normal Tags: patch upstream The xsltproc completion accepts only one --stringparam option:
$ xsltproc -[TAB] Completing option [...] --stringparam -- pass a parameter [...] $ xsltproc --stringparam [TAB] Completing name $ xsltproc --stringparam n1 [TAB] Completing value $ xsltproc --stringparam n1 v1 -[TAB] Completing option but --stringparam is no longer listed. $ xsltproc --stringparam n1 v1 --stringparam n2 v2 [TAB] Here only an option is accepted. Trying to complete on a filename (stylesheet) doesn't work. The attached patch fixes the problem. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zsh depends on: ii libc6 2.13-33 ii libcap2 1:2.22-1.1 ii libtinfo5 5.9-8 Versions of packages zsh recommends: ii libc6 2.13-33 ii libncursesw5 5.9-8 ii libpcre3 1:8.30-5 Versions of packages zsh suggests: ii zsh-doc 4.3.17-1 -- no debconf information
--- /usr/share/zsh/functions/Completion/Unix/_xmlsoft 2012-02-29 00:55:02.000000000 +0100 +++ share/zsh/site-functions/_xmlsoft 2012-06-06 14:48:32.000000000 +0200 @@ -41,8 +41,8 @@ '--maxparserdepth[increase the maximum parser depth]:depth' \ '--html[input document is an HTML file]' \ '--encoding[the input document character encoding]:encoding:(${encoding[@]})' \ - '--param[pass a parameter,value pair]:name::value (xpath expression)' \ - '--stringparam[pass a parameter]:name::value' \ + '*--param[pass a parameter,value pair]:name::value (xpath expression)' \ + '*--stringparam[pass a parameter]:name::value' \ '--path[provide a set of paths for resources]:paths:_files -/' \ '--nonet[refuse to fetch DTDs or entities over network]' \ '--nowrite[refuse to write to any file or resource]' \