Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Sharing a common schema instance across many schemas
Sharing a common schema instance across many schemas [message #579759] Sat, 11 October 2003 19:30
Eclipse UserFriend
Originally posted by: cipher8000.yahoo.com

Hi Ed,

I am looking for a way to share a common imported schema instance
across many schemas. I have the following two schemas (foo.xsd and goo.xsd)
importing an xsd (common.xsd) which is common to both. Like below:

boo.xsd:
<schema targetNamespace="boo">
<import namespace="foo" location="foo.xsd" />
<import namespace="goo" location="goo.xsd" />
</schema>

foo.xsd:
<schema targetNamespace="foo">
<import namespace="common" location="common.xsd" />
</schema>

goo.xsd:
<schema targetNamespace="goo">
<import namespace="common" location="common.xsd" />
</schema>

Now when i load "boo.xsd", which intern resolves "foo.xsd"
and "goo.xsd".

"foo.xsd" & "goo.xsd" schemas loads common.xsd, each one
keeps its own copy of common.xsd schema. But i want to keep only
once instance of common.xsd and ask foo.xsd and goo.xsd to
share this common.xsd instance.This would save lots of memory.
If you have 20 schemas sharing one common schema.

It will be very useful if i could share one schema instance of across
many schemas.

Can i get a hint on how to do this in eclipse xsd?

thanks
-muruga
Previous Topic:Help with generic setting of sf values
Next Topic:Sharing a common schema instance across many schemas
Goto Forum:
  


Current Time: Sun Aug 09 23:36:09 GMT 2020

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

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

Back to the top