Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [teneo/jpox] Question of design of metadata
[teneo/jpox] Question of design of metadata [message #606994] Thu, 14 June 2007 19:16
Julia is currently offline JuliaFriend
Messages: 85
Registered: July 2009
Member
Hi Martin,

I have been working with several separate xsd files used within my
application. Some of the xsd files refer to other xsd file eg topology.xsd
header looks like this

<xs:schema
targetNamespace=" http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-porta l-topology.xsd"
xmlns:portal=" http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-porta l-topology.xsd"
xmlns:base=" http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-porta l-base.xsd"
xmlns:security=" http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-porta l-security.xsd"


The navigation.xsd header looks like this:
<xs:schema
targetNamespace=" http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-porta l-navigation.xsd"
xmlns:portal=" http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-porta l-topology.xsd"
xmlns:navigation=" http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-porta l-navigation.xsd"
xmlns:base=" http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-porta l-base.xsd"

What is the best way to create the metadata file(s) for this kind of
xsd(s)?
1) For example base.xsd is common to both. Should there be one set of
base.xsd tables and both topology and navigation.xsd should refer to the
base tables? There could be duplicate entries. Would the system know which
row to delete if needed? Or should there be a separate base tables for
each xsds?
2) Navigation.xsd also references topology.xsd. But neither is a
superset/subset of each other. I think creating separate topology tables
would be best. But unfortunately it uses the same namespace. Would
annotation be usefule here?
3) Or should there be one giant metadata jdo file for both xsd file?

Any advice would be appreciated. Thanks.

Julia
Previous Topic:problem with object in mulitple lists
Next Topic:[TENEO] Hibernate update exception when updating existing data
Goto Forum:
  


Current Time: Tue Jan 19 22:15:44 GMT 2021

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

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

Back to the top