From: "D. D. Brierton" <darren@dzr-web.com>
Subject: Re: PSGML: validate uses SGML declaration for XML
Date: Wed, 30 Oct 2002 14:48:16 +0000 [thread overview]
Message-ID: <sjSv9.517$XN5.60378@wards> (raw)
In-Reply-To: usmyoqa4l.fsf@10.0.99.75
On Wed, 30 Oct 2002 14:22:50 +0000, Jhair Tocancipa Triana wrote:
>>>>>> " " == 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.
Hmmm - then what is the purpose of the variable sgml-xml-declaration? or
example, the sgml-validate-command is sensitive to whether the buffer is in
xml-mode or sgml-mode; in the former it is
onsgml -wxml -s %s %s
whereas in the latter it is
onsgml -s %s %s
I had understood that the whole point of having separate sgml-declaration and
sgml-xml-declaration was that the former would be substituted for the first
%s in sgml-validate-command when in sgml-mode, and that the latter would be
when in xml-mode. Am I misunderstanding that?
> ,----[ 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.
I'm not sure what you mean by that. Could you elaborate? I'm pretty clueless
when it comes to list ...
> Please, read the complete C-h v sgml-validate-command for
> details.
I have.
Thanks for your help.
Best, Darren
--
======================================================================
D. D. Brierton darren@dzr-web.com www.dzr-web.com
Trying is the first step towards failure (Homer Simpson)
======================================================================
next prev parent reply other threads:[~2002-10-30 14:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-30 2:55 PSGML: validate uses SGML declaration for XML D. D. Brierton
2002-10-30 14:22 ` Jhair Tocancipa Triana
2002-10-30 14:48 ` D. D. Brierton [this message]
2002-10-30 15:54 ` Paul Kinnucan
2002-10-30 16:27 ` D. D. Brierton
2002-10-31 7:59 ` Charles Muller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='sjSv9.517$XN5.60378@wards' \
--to=darren@dzr-web.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.