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

Re: atoms, molecules

  • From: Kohsuke KAWAGUCHI <kohsuke.kawaguchi@e...>
  • To: "Simon St.Laurent" <simonstl@s...>
  • Date: Tue, 17 Apr 2001 12:38:00 -0700

stylus molecule

> It seems as if regular expressions could be used not just for validation of 
> typed content, but for fragmentation of typed molecules into smaller 
> atoms.  Instead of binding users to a particular (ISO 8601) date format, 
> this approach would let users provide their own rules for fragmenting date 
> strings into the parts we need for processing - year, month, day, etc.

One of the problem of this approach is that you can't specify order
relation and equality relation. And date/time is utterly useless without
them (it is ironic that the current date/time types are also broken with
respect to order/equality relation)

How would you define 24hours=1day, or 2minutes < 150 seconds in your
atom/molecule model?

--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   kohsuke.kawaguchi@e...


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.