As reported in email
Also, it seems that binds at levels other than the root node fail as well, but not all of them.
The following combination fails in the dataisland branch, tested with r443 and r445:
<instance id="main" src="foo.xml" />
<instance id="controls"><data xmlns=""><locked>false</locked</data></instance>
<bind nodeset="instance('main')" readonly="instance('controls')/locked='true'" />
<setvalue ev:event="DOMActivate" ref="instance('controls')/locked">false</setvalue>
The setvalue event happens, but the value of locked never changes, and the readonly MIP does not change.
The setvalue and MIP work OK when loading instance id="main" from inline content, but not from @src.
The setvalue works when the bind/@readonly is removed.
The setvalue and MIP work OK when the bind nodeset="instance('main')/BufferSize", but not when it's inherited from root.
Since XSLTForms has the non-standard restriction on one bind per node, it's important that the MIP inheritance and binding to instance root element work.
See the attached files showing the above examples complete.