W3C home > Mailing lists > Public > public-xformsusers@w3.org > September 2017

Re: Email type

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Tue, 12 Sep 2017 09:24:46 -0700
Message-ID: <CAAc0PEXCEd0hWiqCWk17HDHmFhsrWTXi3xtvwEJTBUfht5HMZw@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
What would the rationale be for allowing leading and trailing spaces?

AFAICT, in XML Schema part 2 numbers, for example, do not allow leading and
trailing space in their lexical value.

I for one much prefer values properly trimmed in the data, and we now have
the `whitespace` MIP which takes care of the trimming anyway. [1]

-Erik

[1]
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_whitespace_Property

On Tue, Sep 12, 2017 at 3:08 AM, Steven Pemberton <steven.pemberton@cwi.nl>
wrote:

> While dealing with the telephone number type, I noticed that our email
> type doesn't permit leading and trailing spaces.
>
> I think it should. Agree?
>
> Steven
>
>
Received on Tuesday, 12 September 2017 16:25:29 UTC

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