orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
514 stars 220 forks source link

Form Builder unresponsive after "Undeclared variable in XPath expression" #6517

Open avernet opened 5 days ago

avernet commented 5 days ago
ebruchez commented 4 days ago

The issue appears to be this:

Thoughts:

ebruchez commented 4 days ago

In annotate-design-time.xsl, we handle specifically fr:section/(@open | @readonly | @page-size), for example, in addition to MIPs. The attributes are moved to the fb: namespace. We should do something similar here. In addition, the control editor should use the fb: namespace when reading/updating attributes.

ebruchez commented 4 days ago

We can also check within the component itself whether we are at design-time when calling fr:component-param-value('selection'). Could we also make a static determination? That is, if literally true, when we are open, but if an AVT, then "maybe" or "closed"?