Schema Library Datamodels

T

The Magpie

Quickie question - I'm building data models that I will be including in
"real-world" schemas. Possibly several different ones which include one
or more of the data models each. So, the models are to be a sort of
library of schemas.

The question is; is it best to use a namespace for the library schemas
or to create them with no namespace so that they can adopt the namespace
of the schemas they are included in later?
 
J

Joe Kesselman

The said:
The question is; is it best to use a namespace for the library schemas
or to create them with no namespace so that they can adopt the namespace
of the schemas they are included in later?

Some interesting discussion of that topic, and the tradeoffs among
various ways of modularizing schema designs, appeared in the page
http://www.xfront.com/GlobalVersusLocal.html

I suspect there are other opinions elsewhere on the web, if you search
for "xml schema best practice" or "xml schema modular design" or similar
phrases. And I'd bet there's an article or two on
http://www.ibm.com/xml, just because the've gotten contributions on just
about every possible topic. (Not all of which I agree with, please note.)
 
S

Stan Kitsis [MSFT]

I would recommend staying away from chamelion includes and using a namespace
for your library.

--
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
T

The Magpie

Stan said:
I would recommend staying away from chamelion includes and using a namespace
for your library.
I love that term "chameleon includes"....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,008
Messages
2,570,269
Members
46,869
Latest member
TresaMcGir

Latest Threads

Top