Update of /cvsroot/monetdb/pathfinder/tests/Update/Tests
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv13876/tests/Update/Tests

Modified Files:
        update.xq 
Log Message:
propagated changes of Sunday Feb 11 2007 - Tuesday Feb 20 2007
from the XQuery_0-16 branch to the development trunk


Index: update.xq
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/tests/Update/Tests/update.xq,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- update.xq   1 Nov 2006 16:47:30 -0000       1.7
+++ update.xq   20 Feb 2007 12:07:05 -0000      1.8
@@ -21,16 +21,16 @@
                do insert attribute attr {text{$elem/@attribute}} into 
exactly-one($elem),
                do insert attribute copyright {text{$elem/../@copyright}} into 
exactly-one($elem),
 
-               do rename exactly-one($elem/@attribute) with "Attribute",
+               do rename exactly-one($elem/@attribute) into "Attribute",
 
-               do rename exactly-one($elem/@dummy) with "foo",
+               do rename exactly-one($elem/@dummy) into "foo",
                do replace value of exactly-one($elem/@xyzzy) with "hgulp",
                do replace value of exactly-one($elem/@dummy) with "bar")
 ,
 do delete ($testdoc/document/@title, $testdoc/document/@copyright, 
$testdoc/document/@foo)
 ,
 for $elem in $testdoc/document/[EMAIL PROTECTED] = 50]
-       return do rename exactly-one($elem) with "Element"
+       return do rename exactly-one($elem) into "Element"
 ,
 (: test changing comment value with the following test:
 -- new text
@@ -51,9 +51,9 @@
 -- rename instruction and replace target
 :)
 (do replace value of exactly-one($testdoc//processing-instruction(pi0000)) 
with "foo",
- do rename exactly-one($testdoc//processing-instruction(pi1000)) with "bar",
+ do rename exactly-one($testdoc//processing-instruction(pi1000)) into "bar",
  do replace exactly-one($testdoc//processing-instruction(pi2000)) with (: 
<?target instruction?> :) exactly-one($testdoc//processing-instruction(pi4000)),
- do rename exactly-one($testdoc//processing-instruction(pi5000)) with "xyzzy",
+ do rename exactly-one($testdoc//processing-instruction(pi5000)) into "xyzzy",
  do replace value of exactly-one($testdoc//processing-instruction(pi5000)) 
with "plugh")
 ,
 (: test delete with the following tests:


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to