[xquery-talk] Serializing using fn:put()

Ghislain Fourny gfourny at inf.ethz.ch
Wed Mar 23 08:57:05 PST 2011

Hi Vyacheslav,

I guess it is because the XQuery Update Facility standard does not specify how the nodes passed to fn:put are serialized.

(XQUF 1.0, 2.6.1) "The external effects of fn:put are implementation-defined, since they occur outside the domain of XQuery. The intent is that, if fn:put is invoked on a document node and no error is raised, a subsequent query can access the stored document by invoking fn:doc with the same URI."

If I am correct, this would even be compatible with scenarios in which the nodes are stored in binary format or in an RDBMS, or even only in memory.

Does this make sense?

Kind regards,

More information about the talk mailing list