Projects > cpp > Issues > Refactor #1703

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Replace libxml2 with tinyxml2

Refactor #1703 [Closed]
zhangxm 2013-02-06 02:17 . Updated over 11 years ago
The major benefit I really see would be smaller memory allocations.

tinyxml2 homepage does have this comparison between tinyxml and tinyxml2.

Advantages of TinyXML-2

The focus of all future dev.
Many fewer memory allocation (1/10th to 1/100th), uses less memory (about 40% of TinyXML-1), and faster (~5x on read).
No STL requirement.
More modern C++, including a proper namespace.
Proper and useful handling of whitespace

Anonymous 2013-02-06 08:54
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:2aae0ad0b94060ad5e7102e3a904aa5141e0dabd.

Atom PDF

Start date:2013-02-06
Due date:
% Done:


Target version:cocos2d-2.1rc0-x-2.1.2