OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: DTD vs DCD vs Schema

[ Lists Home | Date Index | Thread Index ]
  • From: "Rick Jelliffe" <ricko@allette.com.au>
  • To: <xml-dev@ic.ac.uk>
  • Date: Tue, 19 Jan 1999 13:42:56 +1100

From: Steven R. Newcomb <srn@techno.com>

>The important thing is to go forward, and to avoid going backward,
>with respect to the set of semantics that are expressible using DTDs.

Personally, I don't think that compatability with what DTDs can model
should be any constraint on a schema language, at least as far as
content models.

The current content model syntax is
    * terse
    * easy to read and write
    * functional for a wide class of documents
    * standard and well-understood
    * part of XML
    * fragment-friendly (SGML's global inclusions and exclusions
have been removed)

I would much prefer the schema system to assume to existance of a
DTD, and provide the missing parts. For example,
    1) a set of data types for attributes and elements
    2) use XSL patterns to assert that if one pattern is found,
then another pattern must exist.

The second in particular gets us out of the content-model approach
and into a "partial validation" approach which is more in tune with

Rick Jelliffe

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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS