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

Re: Datatypes vs anarchy

  • From: Ronald Bourret <rpbourret@r...>
  • To: xml-dev <xml-dev@l...>
  • Date: Tue, 13 Mar 2001 15:48:59 -0800

Re: Datatypes vs anarchy
Michael Champion wrote:
> 
> In my very humble but biased opinion, DOM Level 3 is doing the "right thing"
> in that the content models and validation component is a separate, optional
> module. Implementers can choose to ignore it, and consumers can test for its
> support and either use it, or not use it. Nothing in the rest of the DOM
> depends on the CM module. It is not easy to carve out independent API
> modules from the alleged "layers" of XML-related specs, but the DOM WG tries
> very hard to do so.

This is very important. Thanks.

> In the W3C Schema spec, data types are an integral part of the overall spec
> (the "part 1" and "part 2" distinction does not reflect any explicit
> modularization). The PSVI is not (as far as I can find) explicitly, much
> less modularly, defined.

Very, very true. There are at least three different sets of PSVI
information:

Defaults
Data types
Validation success/failure information

It would be nice if these were explicitly grouped, as it is very easy to
imagine applications that would want one, any two, or all three of
these. In particular, I would like to see processors that take an
instance and a schema and decorate the instance with just defaults or
defaults and data types. When and if people get around to writing such
utilities, modularization would provide predictable levels of service,
rather than having a continuum of implementation levels.

(I've often asked for modularization of the schema features themselves
in the worry that the size and complexity of it is going to lead to a
continuum of implementations, depending on what various applications
actually need. However, there doesn't seem to be much will to do this.)

-- 
Ronald Bourret
Programming, Writing, and Training
XML, Databases, and Schemas
http://www.rpbourret.com

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.