Lists Home |
Date Index |
- From: Tim Bray <email@example.com>
- To: "Jeffrey E. Sussna" <firstname.lastname@example.org>, "'XML-DEV'" <email@example.com>
- Date: Mon, 22 Feb 1999 11:21:12 -0800
At 10:58 AM 2/22/99 -0800, Jeffrey E. Sussna wrote:
>One thing disturbs me, however. Much talk seems to be made about documents
>or document fragments being useful because they are well-formed. I don't
>want something well-formed, I want something "valid". Whether validity is
>determined by reference to a DTD or to a schema of some other kind, I need
>more than just the lowest-level syntactic conformance to the XML spec. I
>need to be able to determine that the XML in question conforms to the
>syntactic and semantic constraints imposed by my application.
I've never seen an application so simple that its syntactic/semantic
constraints could be expressed in a schema, DTD or any other flavor.
That's why every commercial DBMS-based app has zillions of lines of
data validation code that have to be run before you actually use
Having said that, I think that validation is a good thing and
essential in lots of applications, and will become a better thing
once we have a more modern schema facility.
>Furthermore, I don't want to have to rely on implicit knowledge contained
>within a proprietary parser in order to do so.
In my experience, you *always* have to write some application-specific
validation code. -Tim
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)