On Tue, Jul 31, 2007 at 01:28:43PM +0200, Alexander Gnauck wrote: > Today we talk about CDATA, hey but what is coming next?
Look the other way round: XMPP was supposed to use XML. Some first implementation did namespaces and some other bit wrong because of misunderstanding. So now we have some prefix usage forbidden, which makes using some existing XML implementations harder (you cannot use ElementTree library to properly serialize XMPP stanza -- it will use other prefixes, than XMPP expects). AFAIR there were other similar problems with XMPP XML usage, some where fixed in favour of XML standard (now most software will break connection on non-well formed, because of wrong character encoding, XML), others, like the namespace usage, by limiting XML in XMPP. IMHO XMPP should become more XML compatible and not less. Both existing XML parsers and serializers should be usable for XMPP. If something has to be changed in the XMPP specification then it should be removing the incompatibilities and not adding more. Now CDATA is perfectly legal and that is OK -- why forcing users to create their own XML serialization routines by another XMPP limitation? Greets, Jacek