When I give tinyxml a file that contains '\r' characters alongside '\n' characters (aka files saved on windows), then in about 20% of the cases I get a random read failure in a random file at a random location. usually the error is reading element value.
tinyxml version: 2.6.2
os: MacOS 10.7.3, xcode 4.3, occurs on both gcc4.2 and llvm3.1 compilers
when I removed '\r' characters from the file prior to passing it to tinyxml, everything works as expected..
sorry I can't give more accurate repro steps :/ Any ideas what might cause this?