Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XSD/WSDL editors: relative import from classpath
XSD/WSDL editors: relative import from classpath [message #637497] Fri, 05 November 2010 20:39 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: November 2010
Junior Member

When using relative imports in XSD/WSDL's, is it possible to have these resolved not from the actual location, but rather from the classpath.

e.g. I have 2 source folders:

src/main/xsd: containing my actual schema's
src/import/xsd: containing schema's imported from other projects

in src/main/xsd/MySchema.xsd:
<xs:import namespace="http://Common" schemaLocation="common.xsd"/>

and common.xsd will be located in src/import/xsd

Or common.xsd could also be in a jar on the classpath, or in a referenced project in the local workspace.

How do you aproach these problems when you want to split your schema's into multiple reusable artifacts?

Thank you
Re: XSD/WSDL editors: relative import from classpath [message #637817 is a reply to message #637497] Tue, 09 November 2010 01:17 Go to previous message
Keith Chong is currently offline Keith ChongFriend
Messages: 64
Registered: July 2009
Try using the XML Catalog.

See Preferences->XML->XML Catalog
Previous Topic:CXF Library Warning
Next Topic:Trying to set multiple source folders in Java facet
Goto Forum:

Current Time: Sat Dec 05 15:26:04 GMT 2020

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

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

Back to the top