| Summary: | IHelpResource.getHref() does not work correctly for "file:/" URL schema | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Peter Dell <Peter.Dell> |
| Component: | User Assistance | Assignee: | platform-ua-inbox <platform-ua-inbox> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cgold, prakash |
| Version: | 4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Peter Dell
(In reply to comment #0) You should only upload EPL licensed code into Eclipse Bugzilla. You should remove this comment (only webmaster has the rights to delete the comments, so raise a bug against webmaster) Hello Prakash, Thanks, but since this code is my very own creation and I am the one who is giving the non-exlcusive licences, I don't see the problem. And it is here in order to reproduce the bug. Cheers, Peter. (In reply to comment #2) > Hello Prakash, > Thanks, but since this code is my very own creation and I am the one who is > giving the non-exlcusive licences, I don't see the problem. And it is here in > order to reproduce the bug. It doesn't matter who created it. Its been uploaded with a GPL license. Do you have a standalone example which illustrates the problem? I believe that the problem is not the use of as TocProvider but is instead a restriction on the use of the file: protocol for security reasons and you would see the same issue if you created a toc.xml file where the topic hrefs used the file: protocol. The workaround is to uses a content provider rather than use the file: protocol. Thanks Chris, this is excatly the information I was looking for also for another use case where the help content is created completly on a dynamic basis! I Best regards, Peter. |