Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to turn ON XInclude support in WTP?
How to turn ON XInclude support in WTP? [message #197693] Tue, 31 July 2007 16:57 Go to next message
Eclipse UserFriend
Originally posted by: farrukh.wellfleetsoftware.com

I am a newbie to eclipse and WTP and have just started using WTP 2.0
all-in-one bundle on Linux.

I am trying to validate a WSDL 1.1 file that has a complex series of
direct and indirect imports of XSD files. The files use the XInclude
mechanism heavily. It appears that XInclude is still not ON by default
in WTP's use of xereces parser (which supports it):

< http://dev.eclipse.org/newslists/news.eclipse.webtools/msg10 048.html>

Since above message was posted a year ago I am hoping that one can turn
on XInclude in WTP 2.0 somehow. If this is still not possible then I
suggest adding a property switch to allow it to be turned ON. I would
gladly be a guinea-pig and try our a patch and report back.
Alternatively, would someone knowledgeable in the code base tell direct
me to appropriate source code and I will get it to work and contribute
the patch back for consideration by dev team.

Thanks for your help on this important issue for my project.

--
Regards,
Farrukh
Re: How to turn ON XInclude support in WTP? [message #197711 is a reply to message #197693] Tue, 31 July 2007 19:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: farrukh.wellfleetsoftware.com

Farrukh S. Najmi wrote:

>
> I am a newbie to eclipse and WTP and have just started using WTP 2.0
> all-in-one bundle on Linux.
>
> I am trying to validate a WSDL 1.1 file that has a complex series of
> direct and indirect imports of XSD files. The files use the XInclude
> mechanism heavily. It appears that XInclude is still not ON by default
> in WTP's use of xereces parser (which supports it):
>
> < http://dev.eclipse.org/newslists/news.eclipse.webtools/msg10 048.html>
>
> Since above message was posted a year ago I am hoping that one can turn
> on XInclude in WTP 2.0 somehow. If this is still not possible then I
> suggest adding a property switch to allow it to be turned ON. I would
> gladly be a guinea-pig and try our a patch and report back.
> Alternatively, would someone knowledgeable in the code base tell direct
> me to appropriate source code and I will get it to work and contribute
> the patch back for consideration by dev team.

On a related note, does WTP Schema Validatiuon support <xsd:include> from
XML Schema specification? If not, is there a way to turn this ON since
xerces supports it.

Based on my observations it does not seem to be supported by default in WTP
2.0.

--
Regards,
Farrukh

Web: http://www.wellfleetsoftware.com
Re: How to turn ON XInclude support in WTP? [message #197744 is a reply to message #197711] Tue, 31 July 2007 23:48 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
>
> On a related note, does WTP Schema Validatiuon support <xsd:include> from
> XML Schema specification? If not, is there a way to turn this ON since
> xerces supports it.
>
> Based on my observations it does not seem to be supported by default in WTP
> 2.0.

Yes, it supports it. I use it extensively in our XSDs, and in WSDLs.
Re: How to turn ON XInclude support in WTP? [message #197752 is a reply to message #197693] Tue, 31 July 2007 23:49 Go to previous message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Farrukh S. Najmi wrote:
> I am a newbie to eclipse and WTP and have just started using WTP 2.0
> all-in-one bundle on Linux.
>
> I am trying to validate a WSDL 1.1 file that has a complex series of
> direct and indirect imports of XSD files. The files use the XInclude
> mechanism heavily. It appears that XInclude is still not ON by default
> in WTP's use of xereces parser (which supports it):
>
> < http://dev.eclipse.org/newslists/news.eclipse.webtools/msg10 048.html>
>
> Since above message was posted a year ago I am hoping that one can turn
> on XInclude in WTP 2.0 somehow. If this is still not possible then I
> suggest adding a property switch to allow it to be turned ON. I would
> gladly be a guinea-pig and try our a patch and report back.
> Alternatively, would someone knowledgeable in the code base tell direct
> me to appropriate source code and I will get it to work and contribute
> the patch back for consideration by dev team.
>
Why are you using Xinclude to bring in Schemas. The correct way is the
use xsd:include or xsd:import, as necessary.

Dave
Previous Topic:How to upgrade to WTP 2.0 (Calisto to Europa)
Next Topic:Dependency between two Dynamic Projects
Goto Forum:
  


Current Time: Thu Apr 18 03:19:46 GMT 2024

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

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

Back to the top