A thing a bit more weird happened to me, initialy these three lines worked:
const char *fullPath = CCFileUtils::fullPathFromRelativeFile(“file.xml”, “”);
doc = xmlParseFile(fullPath)
file.xml is directly inside Resources folder.
First doc contained data, then I started to implement an iteration and so on; and suddenly while debugging I realized that doc contained NULL value.
I have got back the code to the starting point, but has been useless.
I’ve no idea what to do next as don’t know what’s the before/after difference.
I’m working with cocos2d-1.0.1-x-0.12.0, and made no change on file.xml, nor any other file, but that containing the above lines of code.