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

Re: What are schemata

  • From: Marcus Carr <mrc@a...>
  • To: xml-dev@i...
  • Date: Mon, 01 Jun 1998 11:22:57 +1000

schemata
Simon St.Laurent wrote:

> I think that moving from a DTD-based system, where behavior has been
> prescribed for SGML parsers and is effectively unchangeable (the glories of
> the installed base), to a new system that will necessarily require a different
> mechanism for connecting to documents, will require a reconsideration of the
> questions regarding the connection of a schema to its documents.

I'm still having a bit of a hard time getting my head around what the new
mechanism for connecting to documents might involve. Are suggesting the schema (or
multiple schemata) would be invoked numerous times based on the existence of a
particular element, for instance? That would certainly make sense for processing
fragments in an otherwise only well formed document.

> In short, XSchema itself won't answer the question - all it defines is
> elements and attributes, with no grave concern for which one is the root.  The
> declaration connecting the schema to the document (or whatever mechanism makes
> that connection) has the opportunity to present partial schemas for partial
> documents, compound schemas for compound documents.  That intelligence must
> reside in the application, and I hope it will be specified in a different
> standard.

The ability to feed multiple documents with arbitrary root elements to a
persistent process combined with the ability to pick an element out of an
otherwise only well formed document is already available with OmniMark. I agree
that it would open things up if you could move some of the intelligence out of the
application and into the data/XSchema, but I'm still not clear how XSchema will
accomplish this without becomming very complex. If the intention is to support
such things as multiple "XSchemettes" for fragments as well as an overall XSchema
that may be applied to the document as a whole, aren't we flying awfully close to
SUBDOC? Would the generation of the XSchema sometimes be the result of validating
the documents (for want of a better phrase) against the DTD and combining
information that with some other logic?

I hope this doesn't sound too disjointed; I'm just trying to understand when,
where and how in the process the XSchema may be implemented.


--
Regards

Marcus Carr                  email:  mrc@a...
_______________________________________________________________
Allette Systems (Australia)  email:  info@a...
Level 10, 91 York Street     www:    http://www.allette.com.au
Sydney 2000 NSW Australia    phone:  +61 2 9262 4777
                             fax:    +61 2 9262 4774
_______________________________________________________________



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.