Package: psgml
Version: 1.3.2-4
Severity: normal
Tags: patch

When I want to validate my xml (actually xhtml) file using validator
command provided by opensp package from psgml file, psgml uses validator
command provided by sp package. No such problem occurred for the sgml
(html) file. I investigated psgml.el and psgml-init.el file, and found
that there was a naming mismatch for xml validator command setting.

The following patch solved the problem.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages psgml depends on:
ii  emacs-snapshot-gtk [emacs-s 1:20070223-1 The GNU Emacs editor (with GTK+ 2.
ii  sgml-base                   1.26         SGML infrastructure and SGML catal
ii  sgml-data                   2.0.3        common SGML and XML data
ii  ucf                         2.0020       Update Configuration File: preserv

Versions of packages psgml recommends:
ii  opensp                        1.5.2-3    OpenJade group's SGML parsing tool

-- no debconf information
--- psgml-init.el.orig  2007-03-07 20:33:51.557407155 +0900
+++ psgml-init.el       2007-03-07 20:33:44.236930543 +0900
@@ -40,7 +40,7 @@
                            "nsgmls")))
             (setq-default sgml-validate-command
                           (concat program " -e -g -s -u %s %s"))
-            (setq-default xml-validate-command
+            (setq-default sgml-xml-validate-command
                           (concat program " -wxml -e -g -s -u %s %s")))
           ))
 

Reply via email to