W3C home > Mailing lists > Public > www-forms@w3.org > August 2010

Re: disabled controls bindset failure

From: Aaron Reed <aaronr@us.ibm.com>
Date: Tue, 31 Aug 2010 12:22:49 -0500
To: www-forms@w3.org
Message-ID: <i5jdpg$5e7$1@dough.gmane.org>
Actually, I was wrong.  We already support throwing 
xforms-binding-exception's during xforms-rebuild in the mozilla xforms 
processor if we determine the same MIP has been added more than once. 
The bug was in the testcase.  The bind elements in the original form are 
missing the 'xf' namespace prefix so we weren't processing them as 
xforms bind elements.  The parser saw them as xhtml bind elements.


Aaron Reed wrote:
> I will open a bug on the multiple relevant property definitions not
> causing a xforms-binding-exception. However, I need someone from the
> xforms WG to tell us what the target of the xforms-binding-exception
> should be in this case. Should it be the xf:bind that tries to add the
> already present model item property? Or should it be someplace more
> centric like the model that contains the bind?
> Thanks,
> --Aaron
> e-letter wrote:
>> On 31/08/2010, Ronald van Kuijk<rvkuijk@intercommit.nl> wrote:
>>> In betterForm I get this error (after switching ' to " and vice-versa)
>>> xforms-binding-exception: property 'relevant' already present at
>>> model item
>>> *URL: *
>>> *Element causing Exception:*/html[1]/head[1]/xf:model[1]/xf:bind[2]
>>> *
>>> *This is not allowed according to the spec and an error should be
>>> thrown... Personally I always have 2 different XForms processors
>>> (BetterFORM and Orbeon, but I always use the former) that I use to
>>> check if I'm wrong or the engine.
>>> So if Mozilla XForms does not complain, it is in violation of the spec
>>> (see point 2 in http://www.w3.org/TR/xforms11/#evt-rebuild)
>>> It can be solved by changing it to one bind:
>>> <xf:bind nodeset="stage" relevant="../purpose='ewbrl' or
>>> ../purpose='nibrf'" />
>> This does not work so perhaps there is (another) bug with mozilla
>> xforms plug-in. If you know of another cross-platform web browser I
>> could use to test xforms please tell me, thank you.
Received on Tuesday, 31 August 2010 17:24:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:23 UTC