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

Re: Re: Remembering the original XML vision


Re:  Re: Remembering the original XML vision
On Tuesday 18 February 2003 02:44 pm, C. M. Sperberg-McQueen wrote:
> I'm astonished to see document people disowning the idea of
> datatyping, as if better datatyping (and the failure of #PCDATA
> to provide the constraints we wanted, for things like numbers
> or dates or other simple datatypes) had not been one of the
> most frequently mentioned desiderata in discussions of markup
> among professional DTD designers, in the years 1986-1998.

Then again, not all of the people dealing with documents in the years 
1986-1998, cared that much about DTD's to that level of detail. 

A fairly large number of people dealing with SGML documents, including myself, 
regard validation as but one of the useful things you can do to an SGML 
document, and maybe not even the most useful one. That's one reason for 
well-formed XML.

Documents have a lifetime, and in my world, are often dynamic entities that 
pass through phases, many of which would be valid against no DTD I care about 
(let alone schema!). The decision of marking something up as

   <date>1999-01-01</date>

or

  <date calendar="gregorian">
    <year>1999</year>
    <month>01</month>
    <month>01</month>
  </date>

is only relevant in the context of a given application, which may or may not 
care about validation and strict typing. Typing is like everything else: a 
compromise between purity and practicality (or perhaps generality).






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.