Teaser with model and bind

Erik Bruchez <[email protected]> Fri, 14 May 2010 19:12:43 -0700
Newsgroups gmane.comp.web.xforms
Message-ID <[email protected]>
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