Hi Alain, I hit a possible issue with the combination of the context() and name() function.
The example at https://github.com/AlainCouthures/xsltforms/blob/master/testsuite/XForms1.1/Edition1/Chapt07/7.10/7.10.4/7.10.4.a.xhtml works fine (obviously). Line 67 reads: <xforms:setvalue ref="instance('fruitInstance')/bad-fruit" value="context()" /> Clicking 'apple' returns 'apple'. If I replace in line 67 with <xforms:setvalue ref="instance('fruitInstance')/bad-fruit" value="name()" /> it still is ok. Clicking 'apple' returns 'bad-fruit'. If however I replace line 67 with <xforms:setvalue ref="instance('fruitInstance')/bad-fruit" value="context()/name()" /> I expect to see 'fruit' when I click 'apple', but XSLTForms returns a warning, and the return string is empty. The same problem occurs with local-name(). What can be the problem? Thanks, Fred van Blommestein ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
