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

Re: disabled controls bindset failure

From: Ronald van Kuijk <rvkuijk@intercommit.nl>
Date: Tue, 31 Aug 2010 13:07:47 +0200
Message-ID: <4C7CE283.5060604@intercommit.nl>
To: e-letter <inpost@gmail.com>
CC: www-forms@w3.org
  Op 31-08-10 12:53, e-letter schreef:
> 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: *http://127.0.0.1:8080/betterform-trunk/forms/e-letter.xhtml
>> *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.

There is no other cross platform browser that supports xforms 
(natively). Lots of other implementations can be found on 
http://www.w3.org/MarkUp/Forms/wiki/XForms_Implementations. Some are 
fully client side (personally I'd not recommend those, not because their 
quality would be bad (I have no opinion) , but just that I do not trust 
anything that just runs in th browser) or client-server combinations. As 
mentioned before, I develop in betterFORM and if I encounter an issue 
(behaviour I do not expect) I also test in Orbeon. With these you can 
have XForms in *all* browsers.

Ronald




Received on Tuesday, 31 August 2010 11:08:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:20 GMT