Lists Home |
Date Index |
- From: "Samuel R. Blackburn" <email@example.com>
- To: <firstname.lastname@example.org>,"Andy Dent" <email@example.com>
- Date: Fri, 11 Sep 1998 07:19:03 -0400
It all depends on how you look at it. If you agree on reserving
a tag name, then you can express type information in the same
syntax as XML. For example:
<description>User supplied name of the event</description>
<description>Number of seconds since 1970-01-01</description>
<description>MD5 checksum of the NAME and TIME fields</description>
Granted, this is a simplistic method but all it is meant to do is
supply a human reading the XML enough information to write
a validation routine for the data. IMHO you cannot express
enough information in a generic fashion (i.e. DTD or the above
scheme) that will allow data validation in a generic fashion.
It is easy to validate the simple things like "this is a number"
or "this is a date" but validating things like "this is an MD5
checksum of the previous two fields" is impossible.
From: Andy Dent <firstname.lastname@example.org>
To: Samuel R. Blackburn <email@example.com>; Peter Murray-Rust
<firstname.lastname@example.org>; email@example.com <firstname.lastname@example.org>
Date: Friday, September 11, 1998 6:51 AM
Subject: Re: XML is boring (was Re: coming clean with the SGML crowd)
>At 6:28 PM +0800 11/9/98, Samuel R. Blackburn wrote:
>>Looking at XML from a data centric
>>perspective, there are things in it that are worthless, DTD's
>I disagree with this - DTD's for example will help us build a database
>schema to contain the XML. Otherwise we'd have to scan a large XML file to
>deduce the structure then rescan to store into the database.
>This is a wholly data-centric viewpoint.
>Andy Dent BSc MACS AACM, Software Designer, A.D. Software, Western
>OOFILE - Database, Reports, Graphs, GUI for c++ on Mac, Unix & Windows
>PP2MFC - PowerPlant->MFC portability
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)