W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2013

[Bug 15979] [Upd 3.0] fn:put() serialization parameters

From: <bugzilla@jessica.w3.org>
Date: Wed, 30 Jan 2013 15:39:50 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-15979-523-RH1Ue1dsFb@http.www.w3.org/Bugs/Public/>

Josh Spiegel <josh.spiegel@oracle.com> changed:

           What    |Removed                     |Added
                 CC|                            |josh.spiegel@oracle.com

--- Comment #1 from Josh Spiegel <josh.spiegel@oracle.com> ---
ACTION A-529-04 Josh to comment in the bug 15979 with a proposal for adding
serialization parameters to put


* 2.8.1 fn:put 

fn:put($node as node(), $uri as xs:string) as empty-sequence()
fn:put($node as node(), $uri as xs:string, $params as
element(output:serialization-parameters)?) as empty-sequence()

The two-argument version of this function has the same effect as the
three-argument version called with $params set to an empty sequence. This in
turn is the same as the effect of passing an output:serialization-parameters
element with no child elements.

The $params argument is used to identify a set of serialization parameters.
These are supplied in the form of an output:serialization-parameters element,
having the format described in Section 3.1 Setting Serialization Parameters by
Means of a Data Model Instance SER30.  The intent is that an implementation
that serializes the $node argument during storage may use the serialization
parameters.  In this case, the implementation should raise a dynamic error if
setting the serialization parameters produces a serialization error or if an
invalid parameter value is detected.  An implementation may ignore the $params
argument but must not raise an error because parameters are specified.  

Semantics, bullet 4:  
   upd:put($node, $uri) -> upd:put($node, $uri, $params)

* 3.1.12 upd:put

   $node as node(),
   $uri as xs:string,
   $params as element(output:serialization-parameters)?

  An implementation that uses serialization when storing the node may use the
serialization parameters identified by $params.


 - There was a question about default parameters at the WG meeting. 
fn:serialize doesn't prescribe defaults so we shouldn't here either.
 - Some of the above text is copied from FNO30

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 30 January 2013 15:39:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:41 UTC