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

Re: W3C Schema: Resistance is Futile, says Don Box


resistance is futile cartoon
Simon St.Laurent scripsit:

> >  If the schema
> >language or an individual schema required some cryptic, proprietary
> >format I would agree. But any educated person can *understand*
> >'2002-06-11' without too much effort.
> 
> I dunno.  Is that June 11 or November 6?  A normalization that makes sense 
> to your kind of educated person may not make sense to mine.

Oh, come on, Simon, don't overstate your case.  *Nobody* uses year-day-month
dates, thank Ghu.

> It has everything to do with whether normalization is good or 
> necessary.  As W3C XML Schema enforces normalization, those types are also 
> polluted by this for purposes of this conversation.

In document-centric contexts, the right application is probably something
like this:

Julius Caesar was assassinated on <date gDate="-43-03-13">the ides of
March, 710 A.U.C.</date>,

So the content tells us the Roman date, and the gDate attribute (of type
gDate, obviously) gives us the Gregorian equivalent.  Only the latter
has an XSD type.

> "Every day in every way I'm getting better and better." - Emile Coue

"Your uncle is not sick.  He only thinks he is sick.  Let him repeat
EDIEWIGBAB once a day for six months and he will be cured."

Six months pass...

"How is your uncle?"

"He thinks he is dead."

-- 
John Cowan <jcowan@r...>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_

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.