From: Colin Walters <walters@gnu.org>
Subject: Re: auto-detecting encoding for XML
Date: 20 May 2002 18:18:15 -0400 [thread overview]
Message-ID: <1021933096.16291.3446.camel@space-ghost> (raw)
In-Reply-To: vaf661ialiu.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de
On Mon, 2002-05-20 at 11:26, Kai Großjohann wrote:
> The <?xml ...?> stuff must be at the beginning of an XML file, I
> think. I don't think elisp files are likely to begin with the
> characters "<?".
Ah, must the XML declaration be at the very beginning of the file? I
thought that it might be legal for it to be preceeded by SGML comments
or other processing instructions, etc.
[ looks at XML standard ]
Hm, it seems to say that the "XMLdecl" section must come first. That
makes things a lot easier. Then I'll change
`sgml-xml-auto-coding-function' to only look at the first line, and we
won't have to worry about an elisp file which contains the XML header
somewhere embedded in it.
next prev parent reply other threads:[~2002-05-20 22:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-19 2:27 auto-detecting encoding for XML Colin Walters
2002-05-19 23:13 ` Stefan Monnier
2002-05-20 4:53 ` Eli Zaretskii
2002-05-20 7:04 ` Colin Walters
2002-05-20 14:23 ` Stefan Monnier
2002-05-20 22:32 ` Colin Walters
2002-05-21 19:43 ` Stefan Monnier
2002-05-20 10:10 ` Kai Großjohann
2002-05-20 12:59 ` Eli Zaretskii
2002-05-20 14:31 ` Kai Großjohann
2002-05-20 14:32 ` Eli Zaretskii
2002-05-20 14:18 ` Stefan Monnier
2002-05-20 14:29 ` Kai Großjohann
2002-05-20 14:32 ` Stefan Monnier
2002-05-20 15:26 ` Kai Großjohann
2002-05-20 22:18 ` Colin Walters [this message]
2002-05-20 22:09 ` Colin Walters
2002-05-20 4:48 ` Eli Zaretskii
2002-05-20 7:07 ` Colin Walters
2002-05-20 14:48 ` Richard Stallman
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=1021933096.16291.3446.camel@space-ghost \
--to=walters@gnu.org \
/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.