[XML-SIG] xmlproc bug?

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat, 5 May 2001 15:12:01 +0200


> I see no reason why it should be. If the application is converting to
> Unicode itself, or if it got the data from somewhere as Unicode, there
> is no reason why it should not be allowed to parse those data.

I agree in principle. However, just allowing to call feed with a
Unicode object is too permissive: What if you had previously called it
with a string?

So if this is allowed, care should be taken that a sensible thing
happens when somebody mixes byte and unicode strings (signalling a
fatal error might be sensible).

Regards,
Martin