Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » resources in rcp
resources in rcp [message #299473] Fri, 17 February 2006 10:23 Go to next message
Eclipse UserFriend
Originally posted by: diany0704.hotmail.com

hi,

Right now im developing an RCP aplication that
needs to access several xml files an other similar extensions
from any of its classes to do that im currently doing the following :

PuntodeventaPlugin.class.getClassLoader().getResourceAsStrea m( "/cfgTeclado.dtd");


This shows me the following error :

2006-02-17 10:19:51,792 ERROR - Parse Fatal Error at line 2 column -1:
URI relativo "cfgTeclado.dtd"; no se puede
determinar sin un URL debase.
org.xml.sax.SAXParseException: URI relativo "cfgTeclado.dtd"; no se
puede determinar sin un URL debase.

Could anyone explain how this use this kinda of resources inside
my RCP application


Thanks,
Diana
Developer
Re: resources in rcp [message #299474 is a reply to message #299473] Fri, 17 February 2006 10:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Could you please translate the error msg to English?

Diana wrote:
> hi,
>
> Right now im developing an RCP aplication that
> needs to access several xml files an other similar extensions
> from any of its classes to do that im currently doing the following :
>
> PuntodeventaPlugin.class.getClassLoader().getResourceAsStrea m( "/cfgTeclado.dtd");
>
>
>
> This shows me the following error :
>
> 2006-02-17 10:19:51,792 ERROR - Parse Fatal Error at line 2 column -1:
> URI relativo "cfgTeclado.dtd"; no se puede
> determinar sin un URL debase.
> org.xml.sax.SAXParseException: URI relativo "cfgTeclado.dtd"; no se
> puede determinar sin un URL debase.
>
> Could anyone explain how this use this kinda of resources inside
> my RCP application
>
>
> Thanks,
> Diana
> Developer

--
Thanks,
Rich Kulp
Re: resources in rcp [message #299544 is a reply to message #299474] Mon, 20 February 2006 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: diany0704.hotmail.com

Rich Kulp wrote:
> Could you please translate the error msg to English?
>
> Diana wrote:
>> hi,
>>
>> Right now im developing an RCP aplication that
>> needs to access several xml files an other similar extensions
>> from any of its classes to do that im currently doing the following :
>>
>> PuntodeventaPlugin.class.getClassLoader().getResourceAsStrea m( "/cfgTeclado.dtd");
>>
>>
>>
>> This shows me the following error :
>>
>> 2006-02-17 10:19:51,792 ERROR - Parse Fatal Error at line 2 column -1:
>> URI relativo "cfgTeclado.dtd"; no se puede
>> determinar sin un URL debase.
>> org.xml.sax.SAXParseException: URI relativo "cfgTeclado.dtd"; no se
>> puede determinar sin un URL debase.
>>
>> Could anyone explain how this use this kinda of resources inside
>> my RCP application
>>
>>
>> Thanks,
>> Diana
>> Developer
>


2006-02-17 10:19:51,792 ERROR - Parse Fatal Error at line 2 column -1:
Relative URI "cfgTeclado.dtd"; it is not possible to be determined
without a base URL.
Re: resources in rcp [message #299551 is a reply to message #299544] Mon, 20 February 2006 09:56 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

I'm not an expert in XML but the problem is that you have a url
("cftTeclada.dtd") at line 2 that is relative. The problem is that the
parser doesn't know who it is relative to. Since it doesn't know this,
it can't find what it is pointing to.


> 2006-02-17 10:19:51,792 ERROR - Parse Fatal Error at line 2 column -1:
> Relative URI "cfgTeclado.dtd"; it is not possible to be determined
> without a base URL.

--
Thanks,
Rich Kulp
Previous Topic:What's the point of update manager?
Next Topic:Can a view and editor share the same space?
Goto Forum:
  


Current Time: Thu May 08 22:10:39 EDT 2025

Powered by FUDForum. Page generated in 0.05473 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top