Re: Problems parsing plist files
Re: Problems parsing plist files
- Subject: Re: Problems parsing plist files
- From: Michael Hanna <email@hidden>
- Date: Mon, 7 Nov 2005 15:08:06 -0800
I'll vouch for that possibility. I had the exact same problem and the
culprit was that the plist was compressed. After asking the webmaster
to disable compression, it worked as expected.
--
Michael Hanna
email@hidden
iChat: michaelkhanna(AIM)
On 7-Nov-05, at 2:05 PM, Darkshadow wrote:
On Nov 7, 2005, at 9:50 AM, I. Savant wrote:
Have you tried looking at the URL with your favorite web
browser? It's not coming through as a valid PLIST file and so
dictionaryWithContentsOfURL: returns nil. Either the file itself
was modified on the server or the server is doing something
strange to the file.
I had a problem where my hosting service provider made some
changes to their server. Those changes for whatever reason were
mangling the PLIST file (a simple text file). I remember having to
change the extension to .txt (because they wouldn't undo their
changes) and the web server correctly served the document without
attempting to modify it.
--
I.S.
The server could be compressing it, so you're actually receiving a
gzipped form of the plist.
Darkshadow
(aka Michael Nickerson)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden