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

Re: RE: Is schemaLocation just a hint in schema import?

  • From: Rick Jelliffe <rjelliffe@a...>
  • To: xml-dev@l...
  • Date: Tue, 17 Oct 2006 17:21:32 +1000

bearing import
C. M. Sperberg-McQueen wrote:
> The Working Group is working as hard as we can to make XML Schema
> 1.1 clearer than 1.0, to fix bugs, and to add useful
> functionality.  Simplification in the form of eliminating
> features has proven to be a very hard sell -- almost everyone
> agrees that there are a lot of features no one would miss, but
> the lists people give don't converge.
I support XSD 1.1 but...

One way to simplify XSD is through layering rather than feature elimination.

* Move key/keyref and integrity constraints to another part
* Move import/include/redefine to another part
* Remove complex type derivation/abstract/substitution/nillability to 
another layer, leaving a smaller-than RELAX NG core language. This may 
entail some simplified syntax, but not as much as some people might 
think, given that complex types are defined by giving the whole content 
model, not just deltas.
* For the part with complex type 
derivation/abstract/substitution/nillability etc, define these are 
functions that notionally reduce the schema into the core language or 
which allow static or dynamic checks on the schema.

These cosmetic changes have the benefit that each part is easier to 
reason about and teach, but also they allow a clear "little XSD" 
profile. It seems to fit in with 
http://www.xml.com/pub/a/2006/09/20/profiling-xml-schema.html too.

That there is no universal agreement on features for a profile is no 
reason not to create at least one profile. When a train is bearing down 
on you, it is not so important that you jump the very best way but that 
you jump at all!

Cheers
Rick Jelliffe


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.