Hello,


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".

According to that RFC an absolute URI should be scheme ":" hierarchical part.




But when I test this I can create an NSURL with htp/www.ibm.com which has a 
missing colon separator. This looks incorrect.

However surely this class is used very widely by many people so if it was 
incorrect someone would
  have noticed before me.




Any feedback about whether this should be considered incorrect and whether a 
bug should be raised would be appreciated.




Thanks,




Tim









_______________________________________________

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

Reply via email to