I'm getting random errors reading elements and attributes from my XML files. For several runs, everything is fine. Then, without changes to the data, TinyXML will emit an error reading an element or attribute (which causes my program to fail).
I'm using MSVC7.1 C++ and it only happens in release builds (as far as I can tell). Does anyone have even a remote clue as to why this could happen? I'm stuck.
Thanks,
Jason
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've traced this to TiXmlBase::SkipWhiteSpace(), where it skips the Microsoft UTF-8 stuff. I guess I'll look for a patch or other workaround until a proper fix is issued.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm getting random errors reading elements and attributes from my XML files. For several runs, everything is fine. Then, without changes to the data, TinyXML will emit an error reading an element or attribute (which causes my program to fail).
I'm using MSVC7.1 C++ and it only happens in release builds (as far as I can tell). Does anyone have even a remote clue as to why this could happen? I'm stuck.
Thanks,
Jason
I've traced this to TiXmlBase::SkipWhiteSpace(), where it skips the Microsoft UTF-8 stuff. I guess I'll look for a patch or other workaround until a proper fix is issued.
Please file a bug - I'm going to release a new version soon, and I finally have the 7.1 environment.
Test file is the best, but the XML zipped that causes the error is critical.
lee