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

Datatypes vs anarchy (was Re: Personal reply to Edd Dumbill's XML HackAr

  • From: Michael Champion <mike.champion@s...>
  • To: xml-dev <xml-dev@l...>
  • Date: Tue, 13 Mar 2001 09:46:14 -0500

hackar
> -----Original Message-----

> From: David E. Cleary [mailto:davec@p...]
> Sent: Tuesday, March 13, 2001 8:42 AM
> To: XML DEV
> Subject: Re: Personal reply to Edd Dumbill's XML Hack Article wrt W3C XML
Schema

> >There's no guarantee that the string 45.67 in fact represents a real
number.

> And this is supossedly a good thing? That a producer of the data and the
consumer
> of the data can disagree about what the data means? I'll take data typing
any
> day over anarchy.

Quite understandable ... but remember that this kind of thing is PERVASIVE
in the "real world" today.  If you think of Schemas (broadly defined) as a
contract between the producer and consumer of data, think of the nightmares
we would be living through if every "paper" transaction had to be defined by
a legal contract that specified details down to the level of interpretation
of each number in every field in a form.  Sure, there ARE cases when this is
important, and an army of lawyers out there who will happily charge you
$400/hour to get these details right ... but should that be the norm?  Most
of the time we muddle through and decide whether 45.67 is a rounded off
floating point number, a decimal number, or a major.minor version number by
context, heuristics, etc.  That's a problem for automated tools and the
semantic web, but not too severe a problem for human programmers and
readers.

Likewise with XML Schemas.  In my mind, they are the $400/hr lawyers of the
XML world ... when you need them, you need them badly, but most people hope
to get through their daily lives without having to deal with these @#$%s!

So the issue here is not whether there SHOULD be XML data typing
facilities -- we clearly need more than XML 1.0 offers for a lot of cases.
The issue is whether all those who can get by with informal agreements,
human-written code, etc. MUST have to deal with schemas and datatypes?  The
critics of the W3C are simply arguing that types should be LAYERED ON rather
than ENTANGLED IN to XML.





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.