One last error

3 views
Skip to first unread message

Rob3d

unread,
May 3, 2011, 8:17:41 AM5/3/11
to EveryGame
finally finished with my dungeon of d module, but there is one error
I've had throughout development that I just can't shake.

XML parse error
The operation couldn't be completed
(NSXML parserErrorDomain error 5.)

It doesn't seem to effect anything in the module. If I hit reparse it
goes away but always comes back.

Not a big deal just curious about what this error meant.

Thanks

Rob3d

unread,
May 3, 2011, 11:36:44 PM5/3/11
to EveryGame
False alarm I guess.
It turns out the text editor I was using was adding random pieces of
text at the end of the init file I was working on.
I deleted it frin within the app and everything worked out just fine.

Eggy

unread,
May 4, 2011, 2:44:32 AM5/4/11
to ever...@googlegroups.com
Yes, as you discovered, that error message means that a formatting error was encountered while parsing the xml file. Typically, this occurs when you either forget to close a tag (perhaps due to a typo), or when tags aren't nested correctly, and you accidentally close an outer tag before closing all of the inner ones.

The best way to figure out exactly what has gone wrong is to open the xml file in Safari (or likely any other web browser) on your computer. It will likely tell you the exact problem, as long as a line number.

If this error occurs the game will load partially, but everything after the error will be ignored. Fortunately, in this case, it sounds like your error was on the last line, so it shouldn't have stopped anything from loading.

Nathaniel

Sent from my iPad

Reply all
Reply to author
Forward
0 new messages