Re: Encoding dcl in external DTD subsets

David Brownell (David.Brownell@Eng.Sun.COM)
Thu, 11 Jun 1998 14:47:51 -0700


> From: MURATA Makoto <murata@apsdc.ksp.fujixerox.co.jp>
> Date: Thu, 11 Jun 1998 13:32:08 +0900
>
> David Brownell wrote:
> >
> > That, and the way "<?xml ... encoding='...'?> isn't permitted in
> > DTDs, have made me wonder if there are any other litle nudges
>
> As you pointed out in your private mail to me, encoding declarations
> in external DTD's are permitted. You are right that the XML spec is
> not clear enough.
>
> xp does support encoding declarations.

That'd be the most current version; an earlier one didn't. Some
other parsers (you _should_ know who you are :-) still don't.

I'm now persuaded that the spec does do what I thought it should do.
An earlier scan was less conclusive, particularly in conjunction
with several parsers that rejected such decls !!

- Dave