« Return to Thread: Submission not occuring

Re: Re: Re: Re: Submission not occuring

by Erik Bruchez :: Rate this Message:

Reply to Author | View in Thread

> Thanks.  I was an idiot.  By default it logs using  

> SingleFileAppender to
> ../logs/ops.log, which is relative to Tomcat directory.  I was  
> searching
> from Tomcat directory down, so didn't find it.
>
> I used the logs to find the problem with my submission.  I was using  
> a * in
> the nodeset of a <xforms:bind> which was including more nodes than it
> should.
>
> Does the XForms specification specify what should happen when the a  
> node of
> an XML instance are in more than one <xforms:bind>?
Yes, as per 1.0/1.1 it should throw an exception. But Orbeon Forms  
does not enforce this rule. There has been some debate recently in the  
Forms Working Group as to whether we should change this in the future  
anyway, as it clearly makes sense, for example to have multiple  
constraints on a single node, expressed with multiple xforms:bind  
statements. The question is how do the MIPs combine (easy for  
validation, but the behavior of readonly, required, etc. must be  
determined).

> Using tcpmon I can see the XML in the HTTP PUT. The reply is 403 Not
> authorised with the HTML for the standard Tomcat error page.
>
> I don't get this error if I run my XForm in the Orbeon sandbox thing  
> - only
> when running as a seperate webapp.
>
> Is there further configuration I must do to allow my separate webapp  
> to use
> the eXists database built in to Orbeon?
It really seems that eXist is expecting some credentials. Did you try  
using xxforms:username and xxforms:password on xforms:submission?

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

 « Return to Thread: Submission not occuring