From: Dmitriy S. <sha...@gm...> - 2010-11-22 17:40:09
|
On Mon, 2010-11-22 at 17:30 +0000, Adam Retter wrote: > > Evgeny give me the idea to call one of three function signatures: > one > > that already there, one with xs:document-node parameter, another one > > "binary-document", but I still do not sure that it safe to provide > > unsaved document for more updates. (BTW, it performance lost to > provide > > document parameter, because of base64 transformation). > > I do not want to separate functions for binary and xml documents. Sure > that issue with base64 is the same for all operations in eXist-db at > the moment where streams could be used, I think the trick will be to > reimplement Base64Value, so that it uses a lazily evaluated stream > instead. Different signatures will allow to do updates for xml documents. -- Cheers, Dmitriy Shabanov |