CCDictMaker parsing plists


#1

I’m having an issue parsing a plist using CCFileUtils::dictionaryWithContentsOfFile().
The CCDictMaker appears to read the file correctly into the buffer, but fails on
int result = xmlSAXUserParseMemory( &saxHandler, this, buffer, size );
which is line 198.
The result returned is 4, but I can’t seem to find the error codes so I do not know why it is failing. Does anyone have any advice on this issue?


#2

Sorry about the bug.
We have fixed it in this issue: #349.


#3

Hi Bin Zhang

now i too facing same problem. the returned result is 4.
what is the meaning for 4?
can you please give the solution…