Comments (7)
196 in which file? Which test is executing? Anything about your environment that might be different?
from tinyxml2.
line 196 in xmltest.cpp, beggining of test Dream.
Environment is default VS 2010 Express installation.
from tinyxml2.
did you check if "doc" is loading correctly the dream.xml file?
from tinyxml2.
Ah...good point. The "working directory" of the project file needs to be where the dream.xml and the source files are located, and that isn't saved with the VS project files. (Thanks diasbruno!) Not quite sure how to fix that. May have to move the project files around.
from tinyxml2.
I had the same problem...i checked the result of LoadFile to find out what was happening.
I believe the reference to the xml could be defined to be relative to the project files for xcode, vs; and, just using ../*.xml. It worked well on xcode.
from tinyxml2.
It now prints out a hopefully helpful error message than you are in the wrong directory, and exits gracefully. Please re-open if the messaging needs to be clearer.
I'm trying to avoid looking in 2 places for files - that sounds like it could create more bugs.
from tinyxml2.
totally agree! i made a clean xcode project to run the xmltest, so we don't need to deal with the xml's location on mac. maybe it can help.
from tinyxml2.
Related Issues (20)
- XMLPrinter printer( fp ) not recognised on arduino ide compiler HOT 2
- Why return XML_ ERROR_ PARSING? HOT 2
- Documentation error? HOT 2
- Turkish Characters Support HOT 1
- When will tinyxml release a new version? HOT 1
- Assessment of the difficulty in porting CPU architecture for tinyXML2 HOT 1
- Support for char8_t and std::u8string HOT 2
- Using IntText(); HOT 1
- FirstChildElement and namespace prefixes.
- Bug with XMLElement::Attribute - it returns 0 instead of "value" if it can't find the attribute -
- Is the Doxygen tagfile published anywhere?
- v10: MinGW DLL build behavior change
- porty guide from tinyxml1
- Tags for versions below 2.0.1
- `Error()` returns false for corrupted XML (when there is no starting tag) HOT 1
- Add xmake build system HOT 1
- xmltest.exe fail Error opening test file 'dream.xml'
- Compilation warnings
- tinyxml2 can not deal this text:   
- Adding gnbon to `auto_ccs` for OSS-Fuzz Integration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyxml2.