From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "D. D. Brierton" Newsgroups: gmane.emacs.help Subject: PSGML: validate uses SGML declaration for XML Date: Wed, 30 Oct 2002 02:55:55 +0000 Organization: DZR Sender: help-gnu-emacs-admin@gnu.org Message-ID: <%SHv9.378$dz2.67345@stones> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035946874 31941 80.91.224.249 (30 Oct 2002 03:01:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 03:01:14 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 186j6X-0008J2-00 for ; Wed, 30 Oct 2002 04:01:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 186j6j-0004wR-00; Tue, 29 Oct 2002 22:01:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.wirehub.nl!landlord!stones.POSTED!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help User-Agent: Pan/0.11.3 (Unix) X-Comment-To: ALL Original-Lines: 66 Original-NNTP-Posting-Host: 212.159.101.92 Original-X-Complaints-To: abuse@plus.net.uk Original-X-Trace: stones 1035946555 212.159.101.92 (Wed, 30 Oct 2002 02:55:55 GMT) Original-NNTP-Posting-Date: Wed, 30 Oct 2002 02:55:55 GMT Original-Xref: shelby.stanford.edu comp.emacs:75509 gnu.emacs.help:106542 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3092 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3092 When I try and validate an XML document in PSGML mode with onsgmls sgml-declaration is used as the first argument instead of sgm-xml-declaration. I'm using Emacs 21.1.1 on Linux (Mandrake 8.2) and psgml 1.2.4. The following variables are set in my .emacs: (setq sgml-declaration "/usr/share/sgml/docbook/sgml-dtd-3.1/docbook.dcl") (setq sgml-xml-declaration "/usr/share/sgml/openjade/pubtext/xml.dcl") The value of sgml-validate-command is unchanged from the default: sgml-validate-command's value is "nsgmls -wxml -s %s %s" Local in buffer test.xml; global value is "nsgmls -s %s %s" Say I have a buffer like so: ====================================================================== Test

This is a Test

====================================================================== The mode line indicates that I am indeed in xml-mode, and M-x describe-variable sgml-xml-p returns sgml-xml-p's value is t Local in buffer top.xml; global value is nil However, whenever I try and valdate my document the command I am prompted to accept is: nsgmls -wxml -s /usr/share/sgml/docbook/sgml-dtd-3.1/docbook.dcl test.xml Note that it correctly picks up the -wxml option but seem to use sgml-declaration instead of sgml-xml-declaration for the first argument. I have been trying to get PSGMl set up for days now, and I'm beginning to lose focus. Am I missing something totally stupid? Best, Darren -- ====================================================================== D. D. Brierton darren@dzr-web.com www.dzr-web.com Trying is the first step towards failure (Homer Simpson) ======================================================================