Random parsing errors when file contains \r characters
Brought to you by:
leethomason
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?
I am a new software developer , i am willing to work on this if u assign it to me .
@msreddy: by all means, I won't mind :)