Re: openURL: and fragments
Re: openURL: and fragments
- Subject: Re: openURL: and fragments
- From: "Louis C. Sacha" <email@hidden>
- Date: Wed, 19 May 2004 23:12:42 -0700
Hello...
Cocoa (or specifically NSDocumentController and NSDocument) has a
tendency to convert any file url into a file path and use the
...WithPath: versions of methods, which discards any additional
information included in the url.
You are probably running into the same sort of problem, where your
url is being converted to a path somewhere within the openURL code
because it is a file url.
I hope someone out there has an easy solution for you, but in the
case of the NSDocument/Controller issue with urls, the fix was to
rewrite significant portions of those classes...
Louis
If I include a fragment (e.g. file://mypath/myfile#myfragment) in a
file NSURL and try to use openURL the fragment is stripped off and
ignored. No problem for http urls. What do I need to do in order for
the fragment to be used by the web browser?
Thanks,
John DeSoi, Ph.D.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.