[Monetdb-developers] XQUF: "rename . with ." => "rename . into ." ?
Dear all, maybe I missed the repective checkin (-message), but has the syntax of do rename . with . recently (read yesterday) been changed into do rename . into . ======== .../pathfinder $ find * -type f | xargs grep --color 'do.*rename.*into' -------- compiler/core/fs.brg: * [[ do rename <TargetExpr> into <NewNameExpr> ]] compiler/parser/parser.y:RenameExpr : "do rename" TargetExpr "into" NewNameExpr ======== ?? If this was intended, we should also update the repective documentation and tests! ======== .../pathfinder $ find * -type f | xargs grep --color 'do.*rename.*with' -------- EXTENSIONS: "do rename" TargetExpr "with" NewNameExpr tests/Update/Tests/update.xq: do rename exactly-one($elem/@attribute) with "Attribute", tests/Update/Tests/update.xq: do rename exactly-one($elem/@dummy) with "foo", tests/Update/Tests/update.xq: return do rename exactly-one($elem) with "Element" tests/Update/Tests/update.xq: do rename exactly-one($testdoc//processing-instruction(pi1000)) with "bar", tests/Update/Tests/update.xq: do rename exactly-one($testdoc//processing-instruction(pi5000)) with "xyzzy", ======== http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/... ======== Stefan ps: "find" & "grep" are you friends --- quite handy to make such changes *consistenstly* ... -- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
Dear all, If I understood today'\''s skype conference correctly, we agreed on keeping Peter'\''s syntax changes of "do rename ... with" into "do rename ... into". Hence, I felt free to also change the documentation in EXTENSIONS and usage in test tests/Update/Tests/update.xq accordingly. This should make test tests/Update/Tests/update.xq work (correctly), again. In case someone decides to go back to "do rename ... with", please recall to change all occurances consistently (`find .../pathfinder -type f | xargs egrep 'do.*rename.*(into|with)'`). Stefan On Sat, Feb 10, 2007 at 12:07:42PM +0100, Stefan Manegold wrote:
Dear all,
maybe I missed the repective checkin (-message), but has the syntax of
do rename . with .
recently (read yesterday) been changed into
do rename . into .
======== .../pathfinder $ find * -type f | xargs grep --color 'do.*rename.*into' -------- compiler/core/fs.brg: * [[ do rename <TargetExpr> into <NewNameExpr> ]] compiler/parser/parser.y:RenameExpr : "do rename" TargetExpr "into" NewNameExpr ========
??
If this was intended, we should also update the repective documentation and tests!
======== .../pathfinder $ find * -type f | xargs grep --color 'do.*rename.*with' -------- EXTENSIONS: "do rename" TargetExpr "with" NewNameExpr tests/Update/Tests/update.xq: do rename exactly-one($elem/@attribute) with "Attribute", tests/Update/Tests/update.xq: do rename exactly-one($elem/@dummy) with "foo", tests/Update/Tests/update.xq: return do rename exactly-one($elem) with "Element" tests/Update/Tests/update.xq: do rename exactly-one($testdoc//processing-instruction(pi1000)) with "bar", tests/Update/Tests/update.xq: do rename exactly-one($testdoc//processing-instruction(pi5000)) with "xyzzy", ======== http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/... ========
Stefan
ps: "find" & "grep" are you friends --- quite handy to make such changes *consistenstly* ...
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
participants (1)
-
Stefan Manegold