XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
John PanjoeSubject: XQuery Core
Author: John Panjoe
Date: 31 Aug 2005 03:50 AM
Could you please tell me how to convert XQuery into XQuery Core?
Can this be done in Stylus Studio or using some other tools?

Thanks in advance....

Postnext
Tony LavinioSubject: XQuery Core
Author: Tony Lavinio
Date: 31 Aug 2005 11:22 PM
XQuery Core is just XQuery with the core library functions, which means
the basic functions that must be included in order to call your
implmentation a "complete" implementation of XQuery. Stylus Studio
includes both and internal XQuery engine, the engine from Saxonica, and
also the high-performance DataDirect Technologies DDXQ engine, as well
as hooks to the Sleepycat, Mark Logic and Raining Data XML databases.
That's about as core as they come.

Is there some other meaning of "XQuery Core"?

Postnext
John PanjoeSubject: XQuery Core
Author: John Panjoe
Date: 02 Sep 2005 02:20 AM
Originally Posted: 02 Sep 2005 02:11 AM
Hello Tony,<br> At the moment I am doing project on XQuery language. I am using Galax to normalize and optimize XQuery to XQuery Core, but when I copy optimized version to Stylus Studio it gives me errors like: $ not recognize, namespace not declared, () invalid, and so on. Could you please try to use Galax to optimize XQuery (XMark Q1) , copy optimized version to Stylus Studio and debug it. If you get errors, could you please tell me how to fix them?<br> Thank you in advancedů<br> P.S. If I debug XQuery and XQuery Core (optimized) in Stylus Studio using Saxon processor, is it true that XQuery Core would produce better cost-based results then XQuery.

Postnext
Alberto MassariSubject: XQuery Core
Author: Alberto Massari
Date: 02 Sep 2005 07:28 AM
Hi John,
the normalized query that Galax can generate is what is defined in the "Formal Semantics" specification; that is, it's not a "real" XQuery expression, but something that goes beyond it by using data types and functions that are not part of the language (e.g. the "numeric()" data type, and functions from the "op" and "fs" namespace)

In short, it is something that probably no other XQuery processor will understand.

Hope this helps,
Alberto

Postnext
John PanjoeSubject: XQuery Core
Author: John Panjoe
Date: 05 Sep 2005 08:24 AM
Hi guys,
Is there any tool (providing debug timer or profiler) that I can use for debugging both XQuery and XQuery Core? I would like to compare these two to see which would produce better cost-based optimization results. How can I compare these two?

Posttop
Tony LavinioSubject: XQuery Core
Author: Tony Lavinio
Date: 06 Sep 2005 09:46 AM
Originally Posted: 06 Sep 2005 09:45 AM
Each XQuery engine will have its own optimization plan, since its implementation will be different. The only way to guarantee that one is faster than another is to benchmark with your workload. And since as Alberto stated, the XQuery Core output is specific to Galax, you can't compare it to other tools. However, you can use Stylus Studio to debug a number of XQuery engines, including our internal engine and also Saxon.

 
Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.