backplane-import/backplanejs — Issue #77: Recursive dependency structure does not fire xforms-compute-exception
Author: backplane-import
Created: 2011-10-15 20:43:25+00:00
State: open

### Imported from backplanejs Google Code [issue 77](http://code.google.com/p/backplanejs/issues/detail?id=77).

Reporter
fdintino

Date
20 Jul 2010 10:25:44 PM UTC

According to XForms 1.0 Appendix D.3:

If the pertinent dependency subgraph contains vertices, but none have an inDegree of 0, then the calculation structure of the form has a loop, and an exception (4.5.4 The xforms-compute-exception Event) must be thrown, terminating processing.

Instead, an exception is thrown with the message "xforms-compute-exception: Recursive calculation structure detected." Although loops are correctly detected and processing is terminated, the exception is caught farther up in the call stack and never fires an event.