[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Schemas: Best Practices - Chameleon design

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: "Roger L. Costello" <costello@m...>, xml-dev@l...
  • Date: Tue, 07 Nov 2000 09:03:39 -0500

chameleon design
Roger L. Costello writes -

> Very good points Paul (and welcome back!)
>
> You first design suggestion is to keep no-namespace
schemas small, so
> that schemas which wish to use the Chameleon components in
the
> no-namespace schema will not get a lot of unwanted
components.
>
> Good point.  Since the Chameleon components are context
(namespace)
> independent, there is no reason for creating no-namespace
schemas with
> lots of components.  Actually, now that you bring it up, I
think that
> the Chameleon design implicitly suggests lots of small
no-namespace
> schemas rather than a few, big no-namespace schemas.
>

Schema omponents, when included into a schema, take on the
parent schema's target namespace, if they are not already in
it or don't have one of their own.  This suddenly reminded
me of the new import syntax in Python (I don't know how many
other languages already have it too):

import spam as eggs

This lets you have your cake and eat it too - your
components can be referred to by any namespace you want.
Seems to me that this is very close to what Cameleon
provides.  This sounds like a GOOD THING to me.

Cheers,

Tom Passin


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.