[Zope3-dev] Re: zope.tal.xmlparser.XMLParser() dislikes unicode

Dieter Maurer dieter at handshake.de
Tue Jan 16 13:16:21 EST 2007


Chris Withers wrote at 2007-1-14 18:14 +0000:
> ...
>The problem comes when someone sends you something like:
>
>u'<?xml version="1.0" encoding="something-else"?><node />'
>
>What should be done then?

We parse the declaration  and generate an info element
for it but otherwise ignore it as it has lost its meaning after
the XML has been converted to Unicode.



-- 
Dieter


More information about the Zope3-dev mailing list