section template - custom namespace error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

section template - custom namespace error

mabu
Hi,

I have a section template defined in testlibrary.xml which uses a custom namespaces inside the "fr-form-instance". If I use this section template in the form testformular.xml then I get the error "Prefix foo has not been declared" after entering a value in the input field.
What am I doing wrong?
Without a section template it works fine!

Martin
Reply | Threaded
Open this post in threaded view
|

Re: section template - custom namespace error

Alessandro  Vernet
Administrator
Hi Martin,

It is just a that custom namespaces are not supported in section  templates, since the idea for section templates is that they are created with Form Builder, and Form Builder doesn't support mapping to a custom XML document, of which support for namespaces would be a sub-feature. For now, I've added the RFE  linked below, but I can't guarantee that we'll get to it very quickly.

https://github.com/orbeon/orbeon-forms/issues/2466

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: section template - custom namespace error

Erik Bruchez
Administrator
All,

For reference, this issue is now fixed, even though I believe Martin has a workaround now.

-Erik