Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Minor Escape Character Change

Developer
2013-04-01
2013-05-20
  • Matt Briggs
    Matt Briggs
    2013-04-01

    First off great library and worked great for my project.  I found with the below minor tweak the code did not escape messages unless it really needed to.

    Tinyxml Version: 2.6.2
    Using STL

    From line 1214 in tinyxml.cpp
    if (value.find ('\"') == TIXML_STRING::npos) {

    To line 1214 in tinyxml.cpp
    if (v.find ('\"') == TIXML_STRING::npos) {