Preventing external loading of xsd [message #186708] |
Mon, 22 January 2007 13:15  |
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 22:49   |
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 07:27   |
Eclipse User |
|
|
|
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 08:55   |
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 17:22   |
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 17:29  |
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04345 seconds