Skip to main content



      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 16:39 Go to next message
Eclipse UserFriend
Hi,

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] Mon, 08 November 2010 20:17 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 21:14:35 EDT 2025

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

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

Back to the top