|
Re: bundleresource:// URL problem in library plugin [message #263941 is a reply to message #263929] |
Tue, 27 July 2004 15:23 |
Eclipse User |
|
|
|
Originally posted by: chaves.nospam.inf.ufsc.br.ok
You can ensure the URL you handle to Xerces is a Java native one by
calling:
URL nativeURL = org.eclipse.core.runtime.Platform.resolve(pluginURL);
Rich Hume wrote:
> I am moving code from an existing 2.1 plugin into a 3.0 RCP. Everything
> worked fine under 2.1.
> I am now seeing a call to getClass().getResource("file.xsd") in a dependant
> DLL return a URL like bundleresource://2/file.xsd. The Xerces parser does
> not like this at all, it gives a SAXParseException:
> bundleresource://2/page-store-labeled.xsd' is not a valid 'anyURI' value
> Anyone have any advice?
> Thanks!
> Rich
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03582 seconds