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

xquery with large xml file

Michael Kay mhk at mhk.me.uk
Wed Apr 19 17:22:09 PDT 2006

mhk file
> [Per Bothner] tried this:
> declare function local:pathOfNode($node) {
>    if(empty($node/..)) then ""  else
>     concat(local:pathOfNode($node/..), "/", 
> local-name($node)) }; let $j:= doc("file:/tmp/standard") for 
> $n in  $j//* return
> local:pathOfNode($n)
> on the 100MB "standard" XMark test file, and then did:
> $ java kawa.repl --main -C /tmp/path.xq
> $ (date; java -Xmx600m path ; date)>&/tmp/log
> That triggered a bug.  After fixing that bug, it seems to 
> have made it through, taking 8 minutes 24 seconds to generate 
> a 75MB file.

I finally got around to running this against the 100Mb data file with Saxon.
It produces the same size output (don't know why the expansion factor should
be different on the 10Mb file) in 5 minutes 45 seconds. 

Michael Kay


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.
First Name
Last Name
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-2013 All Rights Reserved.