W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016

Circular dependencies

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 18 Nov 2016 21:05:08 +0100
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.yq43eupfsmjzpq@steven-aspire-s7>

"All computes that directly refer to an instance node are its dependants;  
excluded are references to the current node's value in calculate  
expressions (such an instance node does not take itself as a dependent).

A compute is computationally dependent on an instance node if there is a  
path of dependants leading from the instance node through zero or more  
other instance nodes to the compute.

A compute is part of a circular dependency if it is computationally  
dependent on itself.


If a compute is computationally dependent on an element in L and part of a  
circular dependency, then an xforms-compute-error event must be dispatched  
to the model element."

According to these definitions, it seems like

	<bind ref="a" constraint=". != 13">

is a circular dependency.

Received on Friday, 18 November 2016 20:05:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:47 UTC