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

Re: datatype non-proliferation and disarmament


xquery for dummies
At 05:08 PM 5/13/2002 -0400, Mike Champion wrote:
>5/13/2002 3:14:45 PM, "Danny Ayers" <danny666@v...> wrote:
> >
> >Hmm - not sure I like this direction at all. float, double, dateTime - all
> >pretty ugly, I'd leave the definition of things like this to separate
> >namespaces/schema, and leave them out of these specs altogether. In fact,
> >I'd probably drop everything but booleans & integers.
>
>All I really care about here is that there be a conformance level that is 
>not a big
>conceptual stretch for XPath 1.0 users and not a burden for implementers.

I agree that this is needed.

In general, an XQuery user can ignore the presence of datatypes and the 
right thing happens, unless they make a mistake. Implementors, on the other 
hand, have to implement all these data access functions, which is a royal pain.

>[FWIW, I'm not persuaded by the "it's just a bunch of 1-line functions,
>no big deal for implementers" argument.  Each of those has to be put
>in a test suite, tested, regression tested regularly, documented, the 
>documentation
>translated, the help desk trained upon, the XQUERY FOR DUMMIES readers who
>can't understand the subtleties supported, ad infinitum.]

Yes, though I frankly wonder if most of these types are important enough to 
put in the XQuery for Dummies book. But I can't say that, or you'll rub it 
in my face....

The XML Schema Part 2 Datatypes tend to be treated as a component that is 
dropped in. People use none of them, or all of them (though one might argue 
for just the primitive types, or just the primitive types plus integer.) [1]

So I agree, fewer types would be better. On the other hand, for the user, 
too many types is better than none at all, since most of these types can be 
safely ignored. For the implementor, that does not hold.

Jonathan

[1] And if you really want to get me in a bad mood, ask me to defend the 
decision that integer should not be primitive. But if you do that, I simply 
won't respond to your email.....


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.