Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv32581/tests/BugTracker/Tests
Added Files:
Parse_error_with_pf_collection.SF-2020631.xq.in
Log Message:
propagated changes of Tuesday Feb 17 2009
from the Feb2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/02/17 - sjoerd:
tests/BugTracker/Tests/Parse_error_with_pf_collection.SF-2020631.xq.in,1.1.2.1
Files with : in the name are not possible on Windows.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- NEW FILE: Parse_error_with_pf_collection.SF-2020631.xq.in ---
pf:add-doc("$TSTSRCDIR/hello.xml","sample1","samples")
<>
pf:add-doc("$TSTSRCDIR/hello.xml","sample2","samples")
<>
<average> {
fn:round(fn:avg(
fn:collection("samples")/example/@sum
)) } </average>
<>
<average> {
fn:round(fn:avg(
pf:collection("samples")/child::document-node()/example/@sum
)) } </average>
<>
let $avg := pf:collection("samples")/child::document-node()/example/@sum
return <average> {
fn:round(fn:avg(
$avg
)) } </average>
<>
pf:del-doc("sample2")
<>
pf:del-doc("sample1")
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins