Form Save Code Path

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

Form Save Code Path

Aaron Spike
I've noticed that the form definition in the form builder edit source dialog changes in various ways between the time the form is first created and when it is loaded for editing a second time. What path does the XForms document take through the code from the time I click Save in form builder until it is stored safely in the database? I'm interested in the path both for existdb and relational persistence. 

Aaron Spike

This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Form Save Code Path

Alessandro  Vernet
Administrator
Hi Aaron,

As you noticed, the relational persistence seems to add whitespace, and the eXist persistence loose comments:

https://github.com/orbeon/orbeon-forms/issues/1956
https://github.com/orbeon/orbeon-forms/issues/235

Since the situation is different in each case, the problem most likely isn't in any code that is common between the two, and each issue would need to be investigate separately. For now, I added a comment to both issues regarding a possible next step with the investigation.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet