[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Re: The State of Native XML databases

Elliotte Harold elharo at metalab.unc.edu
Tue Aug 21 08:32:05 PDT 2007


  Re: The State of Native XML databases
Andrew Welch wrote:

> Isn't the difference that one _looks like_ a date, but the other _is_
> an xs:date.

No. One looks like an xs:date. The other is indicated to be an xs:date 
by some schema. However that does not make it an xs:date. It merely 
means one process using that schema chooses to see it that way. Other 
processes may use different schemas (or no schema at all) and see it a 
different way.


> If you have an operation that compares dates, isn't it wasteful to
> convert the untyped <date> to an xs:date every time?

And if you have a second process that compares them as strings? or as 
dates in a different calendar? What then?

-- 
Elliotte Rusty Harold  http://x-query.com/mailman/listinfo/talk
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


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
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-2011 All Rights Reserved.