[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auto-detecting encoding for XML
From: |
Colin Walters |
Subject: |
Re: auto-detecting encoding for XML |
Date: |
20 May 2002 18:18:15 -0400 |
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.
- Re: auto-detecting encoding for XML, (continued)
Re: auto-detecting encoding for XML, Kai Großjohann, 2002/05/20
Re: auto-detecting encoding for XML, Stefan Monnier, 2002/05/20
Re: auto-detecting encoding for XML, Kai Großjohann, 2002/05/20
Re: auto-detecting encoding for XML, Stefan Monnier, 2002/05/20
Re: auto-detecting encoding for XML, Kai Großjohann, 2002/05/20
Re: auto-detecting encoding for XML,
Colin Walters <=
Re: auto-detecting encoding for XML, Colin Walters, 2002/05/20
Re: auto-detecting encoding for XML, Eli Zaretskii, 2002/05/20
Re: auto-detecting encoding for XML, Richard Stallman, 2002/05/20