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

Strong Typing in SGML and XML

  • From: Tim Bray <tbray@t...>
  • To: xml-dev Mailing List <xml-dev@i...>
  • Date: Mon, 05 May 1997 17:09:21 -0700

xml strong
Ever since about 15 minutes after SGML was born, database people have been
discovering, to their surprise, that it contains no facilities for
strong data typing.  You can have an element named <BIRTH-DATE>, and
SGML will have no problem accepting 

<birth-date>purple bananas rule</birth-date>.

Whenever more than two people start talking about the future of SGML, 
someone starts complaining about typing.  With the advent of XML, the 
volume has increased.  As an old database guy, I've been one of the loud 

While we're really not ready for this on the WG, it is something that
we're going have to do something about before too long.  So I've posted
a modest proposal at:


Overview points:

1. This only types elements, not attributes.  It's easier.
2. It's based on SQL types, not HyTime lextypes.  That's what the
   database world is used to.  This could probably be implemented
   using lextypes.
3. The syntax for dates and so on should match some ISO standard,
   but I haven't found which one yet.

Cheers, Tim Bray
tbray@t... http://www.textuality.com/ +1-604-708-9592

xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa@i...)


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.
First Name
Last Name
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.