Apperantly, Working Dir is directory with result executable binary file.
For example, my directory with executable file is "~/project/bin/build-x/".
If the xml file also placed in this directory, I can load it using this code:
If I place the xml file in the directory "~/project/bin/", I can load it using this code:
But if I place the xml file in the directory "~/project/", I can't load it using this:
Consequently, I can't load the xml file if it placed in any of a child directory of "~/project/", for example "~/project/data" or similar.
Log with errors in this case:
054 error: can't read file: resources.xml to buffer
054 error: can't load xml file: '../../resources.xml'
054 error: Assert! !"can't find xml file"