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

Cleaning up attributes

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Mon, 17 Dec 2018 17:01:24 +0100
To: public-xformsusers@w3.org
Message-ID: <op.zt6b4mncsmjzpq@steven-xps>
As part of action 2208, I'm creating an overview of all attributes, and I  
have a couple of questions to raise before I make any changes to fix them:

1. The bind element has
    https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_bind_Element

Common Attributes: Common

Special Attributes:
  ref
    Optional model binding expression that selects the items on which to  
operate.
    If the attribute is omitted, the default is the in-scope evaluation  
context.
  nodeset [deprecated]
    A synonym for ref. Ignored if attribute ref is present.

While the repeat element has
    https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_repeat_Element

Common Attributes: Common, Appearance, Sequence Binding

Presumably bind doesn't use "Sequence Binding", so that you don't use

    <bind bind="..." .../>

But I can't really see a reason why @bind should be disallowed on <bind/>

Can't we just use "Sequence Binding" for <bind/>?

2. Similarly with <submission/>
    https://www.w3.org/community/xformsusers/wiki/XForms_2.0#submit-submission-element

which lists ref and bind, rather than using "Single Node Binding". This is  
surely an oversight.

(There were a couple of errors in the overview tables that I have silently  
corrected).

Steven
Received on Monday, 17 December 2018 16:01:54 UTC

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