W3C home > Mailing lists > Public > public-xformsusers@w3.org > April 2018

Re: Serialization and submission

From: Philip Fennell <Philip.Fennell@marklogic.com>
Date: Mon, 23 Apr 2018 07:09:19 +0000
To: Steven Pemberton <steven.pemberton@cwi.nl>, Erik Bruchez <ebruchez@orbeon.com>
CC: XForms <public-xformsusers@w3.org>
Message-ID: <3AE264E9-F577-4E09-B916-0141B377D529@marklogic.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 April 2018 07:10:00 UTC