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

Re: Interesting pair of comments (was Re:


paul downy
Paul Downy wrote

> The Chairs' report, published last night, attempts to summarise the
> discussion at the workshop around this very topic, see 'Profiles':
>
> http://www.w3.org/2005/06/21-schema-workshop/chairs-report.html

"There appeared to be no obvious way to split the XML Schema specification
into layers or sub-languages"

So XML Schemas is such spaghetti that it cannot be untangled? Yikes.
But I don't believe it.

From the structures spec, in order,

1) Remove keyref/uniqueness to a new part
2) Remove runtime discovery (xsi:type, xsi:nil, xsi:schemaLocation) and
topdown validation to a new part
3) Remove static schema component construction and modularity
(import/include/redefine/abstract?) elements to a new part
4) Remove complex type derivation to a new part

This results in a Structures spec similar in scope to DTDs,
which just relates to grammars and attributes, does not
rely on a validation phase, and is not couched in terms
of runtime discovery. This doesn't change XML Schemas, but it
provides a way that incomplete implementations or profiles
can say "we support all of Structures, but we don't do
Runtime discovery and we don't check Keyref."

Two practical results of this refactoring would be
i) XML Schemas would not be tied to an irrelevant processing
model as much.
ii) Developers would know that when they don't support a
core Structure feature (any, mixed content) they really are
treading on a tightrope w.r.t. interop.

One problem with a monolithic spec is that it gives little
guidance about what is core and non-core. Everything is
core. A more layered spec such as I suggest would clarify
that, for example, mixed content is a core feature but xsi:nill
is not.

Cheers
Rick Jelliffe

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.