[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...'" <xml-dev@i...>
  • Date: Mon, 01 Jun 1998 07:57:13 -0400

types of schemata
Jarle Stabell wrote:
> 
> So by 'schema', you mean basically what is also known as 'type'? 

Here are a few of my concerns with the word type:

 * I think that it implies a set of legal operations, (e.g. the boolean
type has logical operations, the integer type has integral operations,
etc.) But in generic markup, we want the set of operations to be
open-ended. In type systems, operations are "open-ended" in the sense that
you can build up complex ones (e.g. power) from basic ones (addition), but
in generic markup, you work directly on the data.

 * Each XSchema document will probably contain many types -- one per
element, perhaps some data types and attribute types also.

 * As with DTDs, you will probably be able to use any element type in an
XSchema as the "top", so any particular XSchema will not itself define a
particular document type, but one per possible "root element" -- again
several conceptual types.

 * Your sentence above conflates levels. Even if we use the word type, the
schema is not a type. The schema *defines* a type.

But at some level, yes, schemas define types. They define subtypes of the
type "XML document". Some subset of all XML documents conform to a
particular schema. I just don't think that the word is intuitively applied
here. The types *in* the schema (element type, attribute types, document
types) will get confused with the type the schema defines (a subtype of
XML document).

 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.