[
Lists Home |
Date Index |
Thread Index
]
- From: Peter Murray-Rust <peter@ursus.demon.co.uk>
- To: xml-dev@ic.ac.uk
- Date: Sun, 31 May 1998 23:03:40
At 13:00 31/05/98 -0700, Tim Bray wrote:
[...]
>Hmm, this line of thought may be perpetuating what I see as one of
>the shortcomings of DTDs, namely that the DTD has to describe the
>whole document, i.e. a class of languages. What about partial
>validation/constraints? I think it's important that child-of-DTD
>support compond documents & partial validation. So in the terms above,
>maybe these things define sets of elements and attributes, rather
>than whole documents. -Tim
Yes - I have always seen a DTD as a collection of element/attribute
constraints. It only describes a document if the document structure happens
to fit the root element. But very often the it will describe the individual
elements (including their children) and not the whole document. Of course a
parser will regard that as an error at present, but the element-based
approach has still a great deal of value - especially in a namespace context.
P.
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg
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)
|