At 22:58 05/08/23, Antone Roundy wrote:
>
>On Monday, August 22, 2005, at 09:54  PM, A. Pagaltzis wrote:
>> For this application, I would do just
>> that, in which case, as a bonus, non-UTF-8 streams would get to
>> avoid resending the XML preamble over and over and over.
>
>Of course, if you do that, you won't be able to keep signatures for entries originally published in an encoding other than the one you've chosen.

Wrong, unfortunately. XML Signature requires to transcode
to UTF-8 before signing, exactly to protect against such
problems.

>If one were to want to signal an encoding change mid-stream, how might that work with what's been proposed thus far?

You can't change an encoding midstream in an XML entity.
You can use different encodings for different external
entities, though.

Regrads, Martin.

Reply via email to