Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25465/tests/BugTracker/Tests
Added Files:
Tag: XQuery_0-18
clear_attrs_on_delete.SF-1612739.xq.in
id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.xq.in
Removed Files:
Tag: XQuery_0-18
clear_attrs_on_delete.SF-1612739.prologue
clear_attrs_on_delete.SF-1612739.xq
id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.prologue
id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.xq
Log Message:
Moved shredding from prologue files (MIL) to XQuery.
--- NEW FILE: id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.xq.in
---
pf:add-doc("$TSTSRCDIR/id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.xml",
"id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.xml")
<>
let $doc :=
doc("id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.xml")
, $a := (<a/>,<b/>,<c><d/></c>,$doc/descendant::node())
, $nids := ( for $i in $a return pf:nid($i) )
for $ref at $p in $nids
let $o := id($ref,exactly-one($a[$p]))
return
<r><nid>{$ref}</nid>
<ori>{$a[$p]}</ori>
<obj>{$o}</obj>
</r>
--- id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.xq DELETED ---
--- clear_attrs_on_delete.SF-1612739.xq DELETED ---
--- NEW FILE: clear_attrs_on_delete.SF-1612739.xq.in ---
pf:add-doc("$TSTSRCDIR/clear_attrs_on_delete.SF-1612739.xml",
"clear_attrs_on_delete.SF-1612739.xml", "clear_attrs_on_delete.SF-1612739.xml",
10)
<>
for $i in (1,2,3,4,5,6,7,8,9,10)
return do insert <foo attr1="value1" attr2="value2" attr3="value3"/> as first
into exactly-one(doc("clear_attrs_on_delete.SF-1612739.xml")/document/test)
--- clear_attrs_on_delete.SF-1612739.prologue DELETED ---
--- id-function_fails_to_locate_some_kinds_of_nodes.SF-1698498.prologue DELETED
---
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins