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

RE: Alternatives to XML Schemas

  • From: Michael Brennan <Michael_Brennan@A...>
  • To: 'Rick Jelliffe' <ricko@a...>, xml-dev@l...
  • Date: Wed, 07 Mar 2001 14:47:00 -0800

RE: Alternatives to XML Schemas
It will be interesting to see how much interest there really is in a PSVI.
There is a lot of activity going on around data-binding, and most approaches
do the data-binding in response to SAX events (or even at a lower level).
They don't build some in-memory representation of an Infoset, validate it
and add additional info, then process it. They use some mapping layer to map
atoms in the XML stream to application-specific structure more geared toward
the intended use of the data, then process it. The schema is used in a
code-generation phase during development. At runtime, any necessary
validation is done by application code generated in part with metadata from
the schema.

We'll have to see which approaches really predominate. I don't know the
answer to that. Here where I work, we've started heading down the latter
path. I can see value in the other approach, though; especially with
applications intended to deal with XML structures not anticipated at the
time of implementation. Such applications will need to be able to deal with
generalized structures that can express a PSVI in some manner.

> -----Original Message-----
> From: Rick Jelliffe [mailto:ricko@a...]
> Sent: Wednesday, March 07, 2001 1:16 PM
> To: xml-dev@l...
> Subject: Re: Alternatives to XML Schemas
> 
> 
> 
> > Unfortunately, there are many implementors who will heed 
> your advice. I
> have
> > so far identified only a few implementations of XML Schema. Each is
> focused
> > on one very narrow use case (typically validation) and each 
> supports only
> a
> > subset of the spec.
> 
> The reason why XML Schemas will initially be used for 
> validation most is
> because, until we get DOM and SAX APIs for the PSVI or XSLT 2 
> and XPath2
> come along (for better or worse), all PSVI solutions are 
> proprietary or
> hidden inside an application and so invisible.
> 
> I would guess there will be three waves of XML Schemas 
> adoption: first for
> valiation (wave already broken), second for the generation of 
> interfaces
> (this wave is on fast apon us) and third for PSVI processing 
> (only just on
> the horizon, practically speaking, because the requirements 
> are still being
> gathered).  If your need is only for validation or the generation of
> interfaces, then you will clearly have a different evaluation 
> of the feature
> set of XML Schemas than someone (assuming they actually exist 
> :-) who needs
> a PSVI (or if you could just as easily use the schema for 
> providing type
> information to queries rather than to the PSVI data itself.)
> 
> 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.