Hi Alain

 

Thanks for the prompt feedback, I'm in the process of upgrading my version of 
xsltforms and it does indeed solve this bug. In passing I noticed a few places 
in xsltforms.js where you're still using Core.<method> rather than 
XsltForms_browser.<method>, I can't contribute the changes I've made 
unfortunately as we've added some custom code in places within the js file so 
it wouldn't be compatible.

 

Thanks,
Gordon

 

From: Alain Couthures [mailto:[email protected]] 
Sent: 26 November 2011 21:26
To: Gordon Rogers
Cc: [email protected]
Subject: Re: [Xsltforms-support] Using insert where both source and destination 
contain bindings

 

Hi Gordon,

I didn't get any error with the latest trunk revision in the SF SVN repository 
(this is not yet the 1.0RC but it's close to it!).

Thank you for your feedbacks!

-Alain

Le 25/11/2011 10:43, Gordon Rogers a écrit : 

Hi

 

I've recently upgraded my version of xsltforms to the latest release and have 
started to receive the error message - "Two binds affect one node ..." this is 
thrown from within XFBind.prototype.refresh and occurs when I'm doing an 
xf:insert with bindings in place for both the source and the destination. The 
insert appears to work regardless of the error message being thrown, so I'm not 
sure of the value in making the validation check.

 

I've attached a simple example that recreates the error and is based on the 
deep-copy.xml example distributed with xsltforms.js. 

 

Is there an obvious fix to this problem? My initial thought was to remove the 
validation check locally, but I'm not sure of the underlying reason for 
introducing that check. Is a repeat a special case where the check has no 
meaning?

 

Thanks,

Gordon

 

Gordon Rogers

Senior Developer

Corelogic Limited

www.corelogic.co.uk <http://www.corelogic.co.uk/> 

Tel:       0131 550 0447

Email     [email protected]

 

This document should only be read by those persons to whom it is intended, and 
its contents are private and confidential. If you receive this email message in 
error, notify the sender immediately and do not disclose, copy or distribute 
this message, or open any attachments

 






------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d






_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to