W3C home > Mailing lists > Public > www-forms@w3.org > October 2001

RE: [repost] Several bind elements for the same instance data item ?

From: Josef Dietl <josef@mozquito.com>
Date: Thu, 4 Oct 2001 18:26:33 +0200
Message-ID: <D0F1529EE943B3449F755CA1A40887464E0F7C@winserver.windomain.mozquito.com>
To: Jérôme Nègre <jerome.negre@ecl2000.ec-lyon.fr>, <www-forms@w3.org>, <w3c-forms@w3.org>
Hi Jérôme,

IMO, the first question is easy to answer: It is indeed possible to have
multiple <bind> elements for the same data item.
The second question is actually more interesting. I'd favour "last one
counts", but we definitely have to discuss this in the Working Group.

Hope it helps at least a little bit,

Josef

> -----Original Message-----
> From: Jérôme Nègre [mailto:jerome.negre@ecl2000.ec-lyon.fr]
> Sent: Thursday, October 04, 2001 6:04 PM
> To: www-forms@w3.org
> Subject: [repost] Several bind elements for the same instance 
> data item
> ?
> 
> 
> Hi,
> 
> is it possible for an instance data item to have several 
> <bind> elements
> bound to it ?
> 
> Something like this:
> <xform:bind ref='a/b//*' type='xsd:string'/>
> <xform:bind ref='a/b/c' required='true'/>
> 
> If yes, what happens when two model item properties 
> contradict each other ?
> Should we keep the first/last one ? Should we throw an exception ?
> 
> Thanks for your feedback,
> 
> Jérôme Nègre
> 
> 
> 
Received on Thursday, 4 October 2001 12:27:04 GMT

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