Hi all.Not sure if I'm right here, but I think you need 'lenient' jxpath within binding - this means that, if jxpath doesn't find a node, it ignores it, rather than causing an exception.
I'm new to the Woody framework but till now it works fine for me. But I have one problem I don't know how to solve at best :-(
I get the following exception when I submit the form:
org.apache.cocoon.woody.binding.BindingException: Problem binding field vn_titel (parent = "") to xpath v:Titel (context xpath = "/soap-env:Envelope[1]/soap-env:Body[1]/v:Versicherung[1]/v:Partner[1]/v:Per son[1]")
org.apache.commons.jxpath.JXPathException: No value for xpath: v:Titel
The field is defined in the form definition file and a binding is also defined in the woody binding file. But in one case there is no corresponding XML tag in my source file. In other case there is one. I have to create the element if it is missing. So how can I manage this situation at best?
Who can point me to the right direction?
There has been discussion on the dev list about adding this over the last couple of days. I'm not sure if it is in CVS Cocoon yet, but I suspect it will be within a day or so.
Regards, Upayavira
Thanks for your help, Markus.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
