• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problems parsing plist files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Problems parsing plist files (From: Peter Schols <email@hidden>)
 >Re: Problems parsing plist files (From: "I. Savant" <email@hidden>)
 >Re: Problems parsing plist files (From: Darkshadow <email@hidden>)

  • Prev by Date: Re: CFUserNotificationCreate does not work from daemon started via launchd
  • Next by Date: Core Data
  • Previous by thread: Re: Problems parsing plist files
  • Next by thread: Re: Problems parsing plist files
  • Index(es):
    • Date
    • Thread