When I try to load an xml document, I get an error that the file cannot be opened. We're using this in our game project. When the level loads initially, the xml document loads fine. But when I try to reload the level, the xml document spits out this generic read error. Are there any specific cases in which TinyXML would have troubles loading a file?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try to load an xml document, I get an error that the file cannot be opened. We're using this in our game project. When the level loads initially, the xml document loads fine. But when I try to reload the level, the xml document spits out this generic read error. Are there any specific cases in which TinyXML would have troubles loading a file?
Is there any chance you are changing directory after you load the XML, and your files are named with relative paths?