Peter, two remarks to your latest checkin: - I find it *very* ugly if you introduce new functions whose name only differs by the case (not the name itself). - If you apply search and replace *please* make sure that you afterwards clean up the code. (We e.g., do not need bogus void casts.) On 11/07/2006 02:21 AM, Peter Boncz wrote with possible deletions:
Update of /cvsroot/monetdb/pathfinder/runtime In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4146/runtime
Modified Files: pathfinder.mx pf_support.mx serialize.mx serialize_dflt.mx serialize_sax.mx Log Message: - implement serialization to xml-file - implement a very basic fn:put that just serializes a node into an xml-file
for security, this is only allowed to happen - into *relative* file URIs that thus end up in the dbfarm/ dir. - if the URI ends in .xml (not to overwrite other kinds of files in dbfarm)
thereafter, they can in fact be queried with doc(), as doc will find those xml files there as well.
this fn:put() functionality may be used in an envisioned database backup script.
later steps will be - remote fn:put(node, xrpc://host/localname) - fn:put into the database (i.e. delete root node + insert after doc node)
-- Jan Rittinger Database Systems Technische Universität München (Germany) http://www-db.in.tum.de/~rittinge/