After getting things to work with the url-generator, I
realized that I should be using the xforms-submission processor.
However, the same query that worked for url-generator
fails for xforms-submission.
What is more, is that my Tomcat logs indicate success (200). For example,
this url entered to a browser:
http://hp1.griffinwerks.com:8080/exist/rest/db/css30/origins.xml?_query=//origin[ml%3E3.0]&_indent=yes
is not a problem, but the following (below) entered to the
xpl sandbox returns the message, ! Unexpected response received from server
(and in my program I get my parameters back.)
I am not sure how to debug this further, any tips appreciated.
Cheers,
Hank
Goleta, CA
Input:
<parameters>
<_query>//origin</_query>
<_howmany>1</_howmany>
<_indent>yes</_indent>
</parameters>
XPL:
<p:config xmlns:p="
http://www.orbeon.com/oxf/pipeline"
xmlns:oxf="
http://www.orbeon.com/oxf/processors"
xmlns:xforms="
http://www.w3.org/2002/xforms"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform">
<p:processor name="oxf:xforms-submission">
<p:input name="submission">
<xforms:submission method="get"
action="
http://hp1.griffinwerks.com:8080/exist/rest/db/css30/origins.xml?_query=//origin[ml%3E3.0]" />
</p:input>
<p:input name="request">
<xsl:copy-of select="doc('input:instance')"/>
</p:input>
<p:output name="response" id="origins"/>
</p:processor>
<p:processor name="oxf:xml-serializer">
<p:input name="config">
<config>
<content-type>text/xml</content-type>
</config>
</p:input>
<p:input name="data" href="#origins"/>
</p:processor>
</p:config>
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws