TinyXML is a simple, small, minimal, C++ XML parser that can be easily integrating into other programs. It reads XML and creates C++ objects representing the XML document. The objects can be manipulated, changed, and saved again as XML.
*Please Note* that TinyXML development has stopped and all development has moved to TinyXML-2. TinyXML-2 is available at https://github.com/leethomason/tinyxml2
Rate This ProjectLogin To Rate This Project
It is not tiny and architecturally not clean. Implementation is so so too.
The project idea is really good but personally I think you haven't done a very good job. To explain this attitude: The memory management is quite poor since you do not use any garbage collection or smart pointers. The main problem is that memory management can easily become confusing and very complex. Thus it is almost unavoidable to have memory leaks, segfaults, and so on. As a solution I would suggest the C++11 or boost shared pointers. Doing such a thing you would not emburden the application programmer with the task of doing the memory management even for the library. The heavy pointerwork needed to traverse a XML token graph is quite complex and confusing. Not only is it a lot of work for the programmer to simply traverse the parser graph but in combination with your memory management problem mentioned above also this is a source for many avoidable bugs and errors. The documentation could be a bit more explaining but is quite good in the whole. The library in general is, however, quite good and stable, so it most certainly is a quite useful tool.
Document says it support Character Entities. But it is not supporting < and skipping & Similar posts on this forum have not been replied since 2009!
Poor job because the docs say it removes the special chars but it does not and I have 2.6.1.
good project, but still have bug, when delete xmldocument, some exception happens otherwise memory leaks in program