[Xsltforms-support] Infinite-recursion on xforms-recalculate when model without instance and some c
Brought to you by:
alain-couthures
From: Kostis A. <ank...@gm...> - 2010-04-14 19:09:11
|
Hi, An empty <xf:model> without some <xf:instance> and xforms controls *without* bindings (i.e triggers, output with constant-string XPath values) causes infinite recusrion on form-loading while dispatching: xforms-recalculate on <span class="xforms-model" id="xf-model-config"/> tested against rev385, FF, IE, Chrome. Regards, Kostis file: controlsAndModelWithoutInstance.xml ----------------- <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="xsltforms/xsltforms.xsl" type="text/xsl"?> <?xsltforms-options debug="yes" lang="en"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" > <head> <title>Controls and Model without Instance</title> <xf:model id="model-main" > </xf:model> </head> <body> <!-- either of the controls below cause infinite recursion in FF and IE. --> <xf:output value="'hallo'" />> <trigger> <xf:label>Hallo</xf:label> </trigger> </body> </html> |