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

Re: output/label/help/hint/alert unification

From: Philip Fennell <Philip.Fennell@marklogic.com>
Date: Mon, 9 Apr 2018 09:14:25 +0000
To: Steven Pemberton <steven.pemberton@cwi.nl>, Erik Bruchez <ebruchez@orbeon.com>
CC: XForms <public-xformsusers@w3.org>
Message-ID: <67123E5F-E8B4-4579-B358-4A714E0E065A@marklogic.com>
That makes sense.

From: Steven Pemberton <steven.pemberton@cwi.nl>
Organization: CWI, Amsterdam
Date: Monday, 9 April 2018 at 09:18
To: Erik Bruchez <ebruchez@orbeon.com>
Cc: XForms <public-xformsusers@w3.org>
Subject: Re: output/label/help/hint/alert unification
Resent-From: <public-xformsusers@w3.org>
Resent-Date: Monday, 9 April 2018 at 09:17

Following on from this, I see that "8.1 Common attribute and content sets" lists Control Common, appearance, inputmode, incremental, UI Common, xml:lang, class, navindex and accesskey.


Of these, all are mentioned on the elements where they are used, with the exception of

    class, xml:lang, navindex, and accesskey.

I propose to move class and xml:lang into Common, and navindex and accesskey into Control Common, so that it becomes obvious where they are permitted.


On Sat, 07 Apr 2018 01:27:04 +0200, Erik Bruchez <ebruchez@orbeon.com> wrote:


I don't remember ever needing or even desiring the `src` attribute on any of those. I would favor dropping that.


On Wed, Apr 4, 2018 at 4:49 AM, Steven Pemberton <steven.pemberton@cwi.nl<mailto:steven.pemberton@cwi.nl>> wrote:
Summary of the attributes on the 5 elements

All 5 carry
        Common (=id, model, context, foreign attributes including event attributes)
        Binding (=ref, bind)

The other elements carry these extra attributes:

        UI Common (=label/hint/help/alert)


        Linking (optional host-language attributes, e.g. HTML @src)


So my idea for unification is:

On all
        Common (=id, model, context, Foreign)
        Binding (=ref, bind)

On output only:
        UI Common (=label/hint/help/alert)

And that leaves us with Linking, which I am not sure what to do with, and maybe is worth dropping.



On Wed, 28 Mar 2018 12:18:13 +0200, Steven Pemberton <steven.pemberton@cwi.nl<mailto:steven.pemberton@cwi.nl>> wrote:
These 5 elements are very similar, but not exactly the same.

For instance, output and label both have @mediatype, but the others not (for instance text/html as a mediatype if allowed would also be handy for <help>).

My feeling is that all 5 elements are essentially the same, just used in different ways/contexts.

So, should we just unify them?


Received on Monday, 9 April 2018 09:14:54 UTC

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