|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Dynamic context default valuesMartin Probst martin at x-hive.comWed Feb 7 19:16:40 PST 2007
>> Actually X-Hive is failing several tests because it's not possible to >> run an XQuery that does not have an initial context node. > > ..but in that case XPDY0002 should be raised, right? Are you saying > that there > is tests that rely on a context without setting it, or that X-Hive > can't > arbitrarily set the default context which some tests requires? In X-Hive it's impossible to have an XQuery that does not have a context node. You always create an XQuery on a DOM Node, or on a Library/Document node, and so all queries have an initial context node. This means that a query in XQTS like simply "root()" (which is supposed to fail as it doesn't have a context node) will always succeed in X-Hive. So the XQTS test cases that expect a failure there are not reproducible in X-Hive/DB. Martin -- Martin Probst X-Hive Corporation http://x-query.com/mailman/listinfo/talk
|
Purchase Stylus Studio Online Today!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






