--On 17. Januar 2007 22:49:11 +0100 Dieter Maurer <[EMAIL PROTECTED]> wrote:
Andreas Jung wrote at 2007-1-17 17:48 +0100:... So Martijn's and my proposal remain. They are not very different. In the end the behavior is almost identical. But I will adopt your suggestion to remove the preamble when storing the data internally (basically to avoid a possible encoding ambiguity).In future times, the preamble might contain information which should not be dropped, e.g. when there is an XML version different from "1.0".
We're faster with new Zope versions than the W3C with any standard.
For PageTemplates, we know that the encoding information is probably not relevant after the parsing -- unless we want to use it as a default for the "Content-Type" charset but I doubt that this is a good thing. If the "Content-Type"'s charset is given explicitely, then the "encoding" of the XML declaration needs to be adapted to this value during the serialization anyway -- thus overriding any "encoding" present there.
? -aj
pgpGl17OH27Hh.pgp
Description: PGP signature
_______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com