rayo / xmpp

Fork of the XMPP XEP repo
http://gitorious.org/xmpp
3 stars 3 forks source link

It's too restrictive to require CDATA for documents #70

Open crienzo opened 11 years ago

crienzo commented 11 years ago

The spec currently requires CDATA tags only for wrapping documents and results. Both CDATA and encoded text should be acceptable since XML parsing libraries usually can handle either transparently and using encoded text prevents having to deal with nested CDATA tags.