Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Preventing external loading of xsd
Preventing external loading of xsd [message #186708] Mon, 22 January 2007 08:15 Go to next message
Eclipse User
Originally posted by: mllist.mvdb.net

Hi everyone,

I tried to figure out an easy wat to programatically prevent the xml editor from loading my xsd from
an external location, but without any success.
If anyone has any pointers (or preferrably examples), that would be highly appreciated.

Just an FYI : I will have to write a custom xml editor eventually, so a solution/example in that
direction is also acceptable.

TIA :)

Mvgr,
Martin
Re: Preventing external loading of xsd [message #187020 is a reply to message #186708] Thu, 25 January 2007 17:49 Go to previous messageGo to next message
Eclipse User
Originally posted by: mllist.mvdb.net

Does no one have an idea about this ?

Mvgr,
Martin

Martin van den Bemt wrote:
> Hi everyone,
>
> I tried to figure out an easy wat to programatically prevent the xml editor from loading my xsd from
> an external location, but without any success.
> If anyone has any pointers (or preferrably examples), that would be highly appreciated.
>
> Just an FYI : I will have to write a custom xml editor eventually, so a solution/example in that
> direction is also acceptable.
>
> TIA :)
>
> Mvgr,
> Martin
Re: Preventing external loading of xsd [message #187028 is a reply to message #187020] Fri, 26 January 2007 02:27 Go to previous messageGo to next message
Craig Salter is currently offline Craig Salter
Messages: 169
Registered: July 2009
Senior Member
Have you tried using the XML Catalog? See the tutorial here :
http://www.eclipse.org/webtools/community/tutorials/XMLCatal og/XMLCatalogTutorial.html

Martin van den Bemt wrote:

> Does no one have an idea about this ?

> Mvgr,
> Martin

> Martin van den Bemt wrote:
>> Hi everyone,
>>
>> I tried to figure out an easy wat to programatically prevent the xml editor
from loading my xsd from
>> an external location, but without any success.
>> If anyone has any pointers (or preferrably examples), that would be highly
appreciated.
>>
>> Just an FYI : I will have to write a custom xml editor eventually, so a
solution/example in that
>> direction is also acceptable.
>>
>> TIA :)
>>
>> Mvgr,
>> Martin
Re: Preventing external loading of xsd [message #187047 is a reply to message #187028] Fri, 26 January 2007 03:55 Go to previous messageGo to next message
Eclipse User
Originally posted by: mllist.mvdb.net

Thanx for the reply craig.
The problem is that that is not an API.. I need to automatically register my xsd's so the xsd's are
loaded from my plugin. I prefer that the user doesn't have to any manual configuration for this.

Mvgr,
Martin

craig wrote:
> Have you tried using the XML Catalog? See the tutorial here :
> http://www.eclipse.org/webtools/community/tutorials/XMLCatal og/XMLCatalogTutorial.html
>
>
> Martin van den Bemt wrote:
>
>> Does no one have an idea about this ?
>
>> Mvgr,
>> Martin
>
>> Martin van den Bemt wrote:
>>> Hi everyone,
>>>
>>> I tried to figure out an easy wat to programatically prevent the xml
>>> editor
> from loading my xsd from
>>> an external location, but without any success.
>>> If anyone has any pointers (or preferrably examples), that would be
>>> highly
> appreciated.
>>>
>>> Just an FYI : I will have to write a custom xml editor eventually, so a
> solution/example in that
>>> direction is also acceptable.
>>>
>>> TIA :)
>>>
>>> Mvgr,
>>> Martin
>
Re: Preventing external loading of xsd [message #187122 is a reply to message #187047] Fri, 26 January 2007 12:22 Go to previous messageGo to next message
Eclipse User
Originally posted by: valentinbaciu.hotmail.com

Martin, the XML core plug-in org.eclipse.wst.xml.core provides an API
(provisional, it's true) and an extension point mechanism that allow you to
programmatically or declaratively contribute content to the catalog. The
extension point mechanism is used - for example - by the org.wsdl4j plug-in
to contribute the WSDL schemas to the catalog. Use it as an example.I'm sure
you'll find examples of the API usage in our unit tests.

I hope this helps.
Regards, Valentin

"Martin van den Bemt" <mllist@mvdb.net> wrote in message
news:epcfl1$13o$1@utils.eclipse.org...
> Thanx for the reply craig.
> The problem is that that is not an API.. I need to automatically register
> my xsd's so the xsd's are
> loaded from my plugin. I prefer that the user doesn't have to any manual
> configuration for this.
>
> Mvgr,
> Martin
>
> craig wrote:
>> Have you tried using the XML Catalog? See the tutorial here :
>> http://www.eclipse.org/webtools/community/tutorials/XMLCatal og/XMLCatalogTutorial.html
>>
>>
>> Martin van den Bemt wrote:
>>
>>> Does no one have an idea about this ?
>>
>>> Mvgr,
>>> Martin
>>
>>> Martin van den Bemt wrote:
>>>> Hi everyone,
>>>>
>>>> I tried to figure out an easy wat to programatically prevent the xml
>>>> editor
>> from loading my xsd from
>>>> an external location, but without any success.
>>>> If anyone has any pointers (or preferrably examples), that would be
>>>> highly
>> appreciated.
>>>>
>>>> Just an FYI : I will have to write a custom xml editor eventually, so a
>> solution/example in that
>>>> direction is also acceptable.
>>>>
>>>> TIA :)
>>>>
>>>> Mvgr,
>>>> Martin
>>
Re: Preventing external loading of xsd [message #187130 is a reply to message #187122] Fri, 26 January 2007 12:29 Go to previous message
Eclipse User
Originally posted by: mllist.mvdb.net

Thanx Valentin, I'll have a look at the wsdl4j plugin..

Mvgr,
Martin

Valentin Baciu wrote:
> Martin, the XML core plug-in org.eclipse.wst.xml.core provides an API
> (provisional, it's true) and an extension point mechanism that allow you to
> programmatically or declaratively contribute content to the catalog. The
> extension point mechanism is used - for example - by the org.wsdl4j plug-in
> to contribute the WSDL schemas to the catalog. Use it as an example.I'm sure
> you'll find examples of the API usage in our unit tests.
>
> I hope this helps.
> Regards, Valentin
>
> "Martin van den Bemt" <mllist@mvdb.net> wrote in message
> news:epcfl1$13o$1@utils.eclipse.org...
>> Thanx for the reply craig.
>> The problem is that that is not an API.. I need to automatically register
>> my xsd's so the xsd's are
>> loaded from my plugin. I prefer that the user doesn't have to any manual
>> configuration for this.
>>
>> Mvgr,
>> Martin
>>
>> craig wrote:
>>> Have you tried using the XML Catalog? See the tutorial here :
>>> http://www.eclipse.org/webtools/community/tutorials/XMLCatal og/XMLCatalogTutorial.html
>>>
>>>
>>> Martin van den Bemt wrote:
>>>
>>>> Does no one have an idea about this ?
>>>> Mvgr,
>>>> Martin
>>>> Martin van den Bemt wrote:
>>>>> Hi everyone,
>>>>>
>>>>> I tried to figure out an easy wat to programatically prevent the xml
>>>>> editor
>>> from loading my xsd from
>>>>> an external location, but without any success.
>>>>> If anyone has any pointers (or preferrably examples), that would be
>>>>> highly
>>> appreciated.
>>>>> Just an FYI : I will have to write a custom xml editor eventually, so a
>>> solution/example in that
>>>>> direction is also acceptable.
>>>>>
>>>>> TIA :)
>>>>>
>>>>> Mvgr,
>>>>> Martin
>
>
Previous Topic:XML Editor use in WTP 1.5.2 -
Next Topic:JSTL Warnings? WTP 1.5.2
Goto Forum:
  


Current Time: Sat Apr 19 05:58:08 EDT 2014

Powered by FUDForum. Page generated in 0.01914 seconds