metajack / strophejs

The Strophe.js repository has moved to https://github.com/strophe/strophejs
http://strophe.im/strophejs
MIT License
810 stars 160 forks source link

More compact XML escaping #87

Open lrowe opened 12 years ago

lrowe commented 12 years ago

Tweaks to the serializer's text escaping and attribute quoting resulting so fewer characters are escaped to entities.

ggozad commented 12 years ago

Is there any reason this is not merged? Indeed xml escaping is overzealous in Strophe, resulting in larger payloads. As mentioned in the commits, here's the spec: http://www.w3.org/TR/2008/REC-xml-20081126/#syntax