Page MenuHomePhabricator

Check for update on TinyXML
Closed, ResolvedPublic

Description

Currently we are using TinyXML in MITK.

We should check if there is an updated version, or if a migration to the TinyXML++ project is useful/feasible.

Event Timeline

We are using TinyXML 2.5.3
There is a new version 2.5.5 with some bug fixes - worth an update, I think.
I also checked TinyXML++ but I am not convinced it would be wise to use it at the current stage. As it is quite recent, the community for this project is much smaller than for TinyXML and there are still quite a bit of open issues. It also seems that it would require a lot of changes in MITK without additional benefit.

[SVN revision 23531]
FIX (#4154): TinyXML updated to current version 2.5.5

A couple of files in MITK don't compile anymore since the update.

Reason for this is the flag TIXML_USE_STL, which allows to use std::strings with TinyXML. The flag is set when compiling TinyXML itself but not when compiling code that includes TinyXML headers.

Also, three unit tests are failing even when fixing the above errors.

[SVN revision 23541]
COMP (#4154): add definition TIXML_USE_STL to TinyXML headers, so that dependent modules know the std::string variants of methods

Merging "Utilities" component into "Other"