W3C home > Mailing lists > Public > public-xformsusers@w3.org > February 2016

Re: Whitespace processing during recalculate

From: Alain Couthures <alain.couthures@agencexml.com>
Date: Mon, 15 Feb 2016 20:43:51 +0100
To: Erik Bruchez <erik@bruchez.org>, "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <56C22A77.4030101@agencexml.com>

I agree that this is a point that has not yet been fully examined. It 
remains me that XForms considers xsd:string for input/password controls 
while only xsd:normalizedString (no tab, no newline,...) is effectively 

Do you mean, for example, that, in incremental mode, the input value for 
the XForms control is always empty while the corresponding input field 
still contains just spaces? Is the input field just updated to the 
XForms value when focus is lost?

I think we should define a specific XForms data type for this case. This 
type could then be bound to nodes or defined as default.

We should always have a way to alter global engine options within a 
form. XSLTForms v1 allows authors to add processing instructions for 
that purpose. XSLTForms v2, because of HTML5, allows an <xforms-engine> 
element with attributes. Attributes such as model/version and 
model/functions sound to me more global options than options related to 
a specific model.

What do you think?


Le 11/02/2016 23:13, Erik Bruchez a écrit :
> All,
> We recently implemented an extension to do whitespace processing. I
> think this might be of interest to XForms implementers. Blog post:
>      http://blog.orbeon.com/2016/02/required-fields-more-subtle-than-you.html
> Doc:
>      http://doc.orbeon.com/xforms/binds.html#whitespace-processing
> -Erik
Received on Monday, 15 February 2016 19:44:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:45 UTC