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

RE: aggregate , grouping

Michael Rys mrys at microsoft.com
Thu Dec 22 14:36:32 PST 2005


parent axis static typing
I think one of the problems with the additional axes (and the parent
axis) are that the static typing rules are much more complex and would
have taken more time to get usable. To declare these axes as optional
allowed the spec writers to postpone the work to get the static-typing
right. The parent axis was deemed more important however, so the static
typing there is also not very usable but the axis is in...

I would assume that implementations will add support for it when users
really request it. And at some point a future version of the XQuery
standard may decide to move the functionality into the core...

Best regards
Michael



> -----Original Message-----
> From: David Carlisle [mailto:http://xquery.com/mailman/listinfo/talk]
> Sent: Thursday, December 22, 2005 2:24 PM
> To: Michael Rys
> Cc: http://xquery.com/mailman/listinfo/talk
> Subject: Re:  RE: aggregate , grouping
> 
> 
> > Unfortunately, SQL Server currently does not offer the full axis
> > feature.
> 
> It's not surprising (and not unreasonable) if at the current stage of
> the game some (or even most) Xquery implementations don't implement
the
> full spec, or implement earlier drafts, or whatever. That would be the
> case whether or not a feature is declared optional. I suppose the
> question I should have asked is are there any implementations that
don't
> intend _ever_ to implement all the axes. If not, why are they
optional?
> As Michael Kay says, it inflicts pain on authors of portable xquery
code,
> forever, apparently just to give implementors some transient benefit
of
> claiming full conformance to a slightly smaller spec.
> 
> It would be more understandable if not implementing the full axs
feature
> restricted to some set of xpath expressions with restricted
> functionality that always looked "forwards" and so perhaps helps some
> streaming implementations. But as it is, the choice of optional axes
just
> seems arbitrary, you still have parent:: and root() and << so not
having
> the full set of axes doesn't remove any functionality, it just
inflicts
> on the end user the requirement to make an inconvenient syntactic
> rewrite to remove the dropped axes.
> 
> David
> 
>
________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
>
________________________________________________________________________



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