Teaser with model and bind

All,

Here is a little puzzle:

http://gist.github.com/401939

What should the output sow, "Joe", or "banana"?

First, is it clear that it is allowed to refer by id to a bind that
does not belong to the current model?

If so, since by specifying @model="model1" we are not actually
changing the model in the sense that there is no ancestor @model
attribute changing the model, should @model="model1" ensure that the
nested xforms:output point to a node in model1 rather than model2?

-Erik

Received on Saturday, 15 May 2010 02:13:36 UTC