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

Re: What are schemata

  • From: Paul Prescod <papresco@t...>
  • To: xml-dev@i...
  • Date: Mon, 01 Jun 1998 07:57:24 -0400

schemata speaking
Sean Mc grath wrote:
> 
> To my mind, a schema is an assertion about the structure of a unit
> of data. 

I disagree a little. The schema itself is not the assertion. The HTML DTD
does not assert anything. Some other declaration *points to* (or in the
DOCTYPE case, includes) the schema. That declaration is the assertion.

> Parsing w.r.t. to a schema both tests the veracity of the
> assertion and generates a "view" of the data as an abstract
> data strcture.

I agree 100% with the first statement. I'm not sure about the second. It
is certainly *convenient* for a schema to in some way massage the input to
generate a new "view" of the data, (e.g. DTD's can add extra defaulted
attributes, and strip away ignorable whitespace). 

But should view-generation actually be the responsibility of the schema? I
don't know. In the database world, a view is something explicit and
distinct from a schema. The view has its own schema, in fact.

Since for XSchema we are experimentally stripping the schema concept down
to its minimal core, I think that we should remove the view-creating
responsibility from schemata, at least temporarily. Practically speaking,
that would mean that XSchema processors would not be responsible for
annotating or changing the parse tree in any way. They would only be
responsible for verifying conformance or not.

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

Three things see no end: A loop with exit code done wrong
A semaphore untested, and the change that comes along
http://www.geezjan.org/humor/computers/threes.html



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.