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
518 stars 220 forks source link

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

Open avernet opened 2 months ago

avernet commented 2 months ago
ebruchez commented 1 month ago

The issue appears to be this:

Thoughts:

ebruchez commented 1 month 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 1 month 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"?