XML randomly returning the wrong data

Hey, I’m using this XML parser  which works perfectly to load and create my levels.

It works fine. But sometimes, the data loaded seems to be truncated. Instead of loading the string “2000”, it loads “20”. Which of course, totally messes up the level.

I have absolutely no idea where it might come from since this is totally random : I have to load and reload the game a lot of time to get that problem again.

Has it already happened to you ? Do you have any idea where it could come from ?

It works fine for me. I used it on a project for reading the configuration files.

I suggest that you double check the xml file structure and add some logging / debugging lines into the xml library to localize your problem.

Daniel

It works fine for me. I used it on a project for reading the configuration files.

I suggest that you double check the xml file structure and add some logging / debugging lines into the xml library to localize your problem.

Daniel