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

Re: A Plea for Schemas

  • From: "Rick Jelliffe" <ricko@a...>
  • To: <xml-dev@i...>
  • Date: Wed, 3 Nov 1999 13:11:35 +0800

Re: A Plea for Schemas
 From: Tim Bray <tbray@t...>

>Where I work, people aren't satisfied until there's running code that
>does useful stuff, and the schema-ware is an essential but fairly small
>component of getting there.

One of my hopes for new schema languages (especially those using XML
element syntax) is that, like any data with generic markup, there may be
useful and unexpected applications made possible.  The Xeena people were
nicely surpised that a DTD could be used to generate a structure-editor:
a better schema language will allow better such editors.

Already there is a spread of reasonable opinions on schemas:
    * they need to integrate into existing systems as much as possible
(the XML Schema approach?); or
    * they only need to provide information that generating and
receiving software do not already have (the SGML DTD approach?);
    * they need to be as complete as possible (the EXPRESS approach?);
or
    * they need to be simple and elegant (the XML DTD approach?);

A schema that provides enough information becomes useful as a
declarative programming tool. (For example, I have a working Schematron
that generates RDF based on tree-patterns: it is an automated external
markup tool, yet it is driven by a schema.)

Tim is of course correct that a schema is only part of the whole
picture, but a schema language can be judged on how readily it allows
useful systems and tools to be built.  That being so, it may be a strong
schema system is one which has some 'use' information as well as the
"pure" schemas: documentation, forms building, validation, style, etc.:
where the type information from the schema can directly be used for some
purpose.

DTDs provide simple stucture models but also have infoset contributions
with #FIXED attributes and default attribute values (i.e., a simple
transformation of the instance). This makes them 'impure' as a schema
language, but undoubtedly more useful.

Rick Jelliffe


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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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.