Subject: Re: translating between character sets
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 18 Oct 2000 11:28:44 GMT
|
me> XML DTDs can not specify an encoding.
> They most certainly can! This isn't obvious from the spec but if you
> pay close attention to the productions you'll note that an external
> DTD subset can include a text declaration; e.g.
>
> <?xml encoding="ISO-8859-10">
> <!ELEMENT NAME (#PCDATA)>
> <!-- etc. -->
Mike Brown made a similar clarification.
What I intended to say is that XML DTDs can't do what the original
poster implied they were doing, which is specify an encoding to be used
in document instances that conform to the DTD. They can of course
specify the encoding used in the DTD entity itself.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|