Re: Serialization and submission

If it is purely an issue of the binding attributes on the submission element then I would expect it not to fail in any of those cases if serialization is set to ‘none’.


From: Steven Pemberton <steven.pemberton@cwi.nl>
Organization: CWI, Amsterdam
Date: Friday, 20 April 2018 at 20:37
To: Erik Bruchez <ebruchez@orbeon.com>
Cc: XForms <public-xformsusers@w3.org>
Subject: Re: Serialization and submission
Resent-From: <public-xformsusers@w3.org>
Resent-Date: Friday, 20 April 2018 at 20:36

On Fri, 20 Apr 2018 19:47:50 +0200, Erik Bruchez <ebruchez@orbeon.com> wrote:
Agreed about `serialization="none"`.


Which are the other two cases?

"or an item other than an element or an instance document root node"



On Fri, Apr 20, 2018 at 2:49 AM, Steven Pemberton <steven.pemberton@cwi.nl<mailto:steven.pemberton@cwi.nl>> wrote:
11.2.1 Preparing the Data
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Preparing_the_Data


"The binding attributes of submission are evaluated; if the result is the empty sequence or an item other than an element or an instance document root node, submission fails with no-data."

Presumably with serialization="none", this shouldn't fail if there's no data. How about in the other two cases?

Steven

Received on Monday, 23 April 2018 07:09:59 UTC