help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSGML: validate uses SGML declaration for XML


From: Jhair Tocancipa Triana
Subject: Re: PSGML: validate uses SGML declaration for XML
Date: 30 Oct 2002 15:22:50 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> " " == D D Brierton <darren@dzr-web.com> writes:

     > 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.

     > Note that it correctly picks up the -wxml option but seem to
     > use sgml-declaration instead of sgml-xml-declaration for the
     > first argument.

According to the documentation this is what is expected.

,----[ C-h v sgml-validate-command ]
| sgml-validate-command's value is "onsgmls -s %s %s"
| 
| Documentation:
| *The shell command to validate an SGML document.
| 
| This is a `format' control string that by default should contain two
| `%s' conversion specifications: the first will be replaced by the
| value of `sgml-declaration' (or the empty string, if nil); the
| second will be replaced by the current buffer's file name (or the
| empty string, if nil).
`----

Defining the sgml-validate-command as a list and not a string is maybe
what you need.  Please, read  the complete C-h v sgml-validate-command
for details.

Regards,

-- 
--Jhair


reply via email to

[Prev in Thread] Current Thread [Next in Thread]