[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.webtools] Re: Preventing external loading of xsd

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@xxxxxxxx> wrote in message 
> news:epcfl1$13o$1@xxxxxxxxxxxxxxxxxxxx
>> 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/XMLCatalog/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
> 
>