On Wed, Feb 25, 2009 at 7:57 PM, <tmow...@talktalk.net> wrote: > > I am using NSURL to create a URL for an application using Webkit. It the > documentation for NSURL at: > > > http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSURL_Class/Reference/Reference.html > > I am specifically calling [NSURL URLWithString]. > > It states "The NSURL class will fail to create a new NSURL object if the > path being passed is not well-formed—the path must comply with RFC 2396".
Yes, but I don't see where it states that the provided string must be absolute. It appears that relative URLs are allowed, although that begs the question, relative to *what*. > But when I test this I can create an NSURL with htp/www.ibm.com which has > a missing colon separator. This looks incorrect. That's a valid relative URL. sherm-- -- Cocoa programming in Perl: http://camelbones.sourceforge.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com