Web View silently fails

2008-07-27 Thread Nicolas L.
Hello! I am having a really weird problem with WebView and more specifically getting them to load a WebArchive. My app acquires WebArchives (saved by Safari, TextEdit, other apps, or from the pasteboard provided by those apps) and then later tries to load them. My bug is WebView doesn't

Re: Web View silently fails

2008-07-27 Thread Jeff Johnson
Nicolas, Web archives are actually xml documents, so you can open and view them in BBEdit, for example. The problem with Test2 is that the value of WebResourceURL is x-msg://21/. If you change that to a http URL, such as http://www.google.com/;, it will load. Probably your WebView can't

Re: Web View silently fails

2008-07-27 Thread Nicolas L.
Hi Jeff, Replacing that source URL with a random HTTP URL before loading *did* do the trick. Thank you very much, you saved me a lot of trouble! I have to say I'm still not sure why this URL matters to load the page since the entire contents/data are already in the local archiv. the URL