Update to follow changes to Orbeon Forms experimental features...

This commit is contained in:
Eric van der Vlist 2012-04-21 22:51:58 +02:00
parent c4c4108025
commit be2f974a4c
5 changed files with 23 additions and 27 deletions

View File

@ -96,12 +96,13 @@ for $a in /queue/action where $a/@uuid = $(uuid) return
<!-- Create a new Heritrix job--> <!-- Create a new Heritrix job-->
<p:processor name="oxf:xforms-submission"> <p:processor name="oxf:xforms-submission">
<p:input name="submission" transform="oxf:xslt" href="oxf:/config.xml"> <p:input name="submission" transform="oxf:xslt" href="oxf:/config.xml">
<xforms:submission xsl:version="2.0" method="urlencoded-post" replace="none" action="{/config/heritrix/rest-api}" xxforms:authentication-scheme="digest"> <xforms:submission xsl:version="2.0" method="urlencoded-post" action="{/config/heritrix/rest-api}" xxforms:username="{/config/heritrix/username}"
<xforms:header combine="replace"> xxforms:password="{/config/heritrix/password}" xxforms:preemptive_authentication="no">
<xforms:name>Accept</xforms:name> <xforms:header combine="replace">
<xforms:value>application/xml</xforms:value> <xforms:name>Accept</xforms:name>
</xforms:header> <xforms:value>application/xml</xforms:value>
</xforms:submission> </xforms:header>
</xforms:submission>
</p:input> </p:input>
<p:input name="request" transform="oxf:xslt" href="#data"> <p:input name="request" transform="oxf:xslt" href="#data">
<instance xsl:version="2.0"> <instance xsl:version="2.0">

View File

@ -7,7 +7,9 @@
<user-agent>Mozilla/5.0 (compatible; owark/0.3; http://owark.org/)</user-agent> <user-agent>Mozilla/5.0 (compatible; owark/0.3; http://owark.org/)</user-agent>
<heritrix> <heritrix>
<rest-api>https://admin:envierse@localhost:8443/engine</rest-api> <rest-api>https://localhost:8443/engine</rest-api>
<username>admin</username>
<password>envierse</password>
</heritrix> </heritrix>
</config> </config>

View File

@ -3,7 +3,7 @@
Database access Database access
--> -->
<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: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:xxforms="http://orbeon.org/oxf/xml/xforms" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exist="http://exist.sourceforge.net/NS/exist" xmlns:saxon="http://saxon.sf.net/"> xmlns:exist="http://exist.sourceforge.net/NS/exist" xmlns:saxon="http://saxon.sf.net/">

View File

@ -20,13 +20,13 @@
<param name="ConversionPattern" value="%d{ISO8601} %-5p %c %x - %m%n"/> <param name="ConversionPattern" value="%d{ISO8601} %-5p %c %x - %m%n"/>
</layout> </layout>
<filter class="org.apache.log4j.varia.LevelRangeFilter"> <filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMin" value="INFO" /> <param name="LevelMin" value="INFO"/>
</filter> </filter>
</appender> </appender>
<!-- XForms engine activity --> <!-- XForms engine activity -->
<category name="org.orbeon.oxf.xforms.processor.XFormsServer"> <category name="org.orbeon.oxf.xforms.processor.XFormsServer">
<priority value="debug"/> <priority value="debug"/>
</category> </category>
<!-- This is the root logger --> <!-- This is the root logger -->
<root> <root>

View File

@ -11,24 +11,17 @@
The full text of the license is available at http://www.gnu.org/copyleft/lesser.html The full text of the license is available at http://www.gnu.org/copyleft/lesser.html
--> -->
<properties xmlns:xs="http://www.w3.org/2001/XMLSchema" <properties xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:oxf="http://www.orbeon.com/oxf/processors">
xmlns:oxf="http://www.orbeon.com/oxf/processors">
<property as="xs:anyURI" name="oxf.log4j-config" value="oxf:/default-log4j.xml"/> <property as="xs:anyURI" name="oxf.log4j-config" value="oxf:/default-log4j.xml"/>
<property as="xs:integer" name="oxf.cache.size" value="200"/> <property as="xs:integer" name="oxf.cache.size" value="200"/>
<property as="xs:anyURI" <property as="xs:anyURI" name="oxf.http.ssl.keystore.uri" value="file:/var/local/heritrix-3.1.0/heritrix.keystore"/>
name="oxf.http.ssl.keystore.uri" <property as="xs:string" name="oxf.http.ssl.keystore.password" value="heritrix"/>
value="file:/var/local/heritrix-3.1.0/heritrix.keystore"/> <property as="xs:string" name="oxf.http.ssl.hostname-verifier" value="allow-all"/>
<property as="xs:string"
name="oxf.http.ssl.keystore.password"
value="heritrix"/>
<property as="xs:string"
name="oxf.http.ssl.hostname-verifier"
value="allow-all"/>
<!--<property as="xs:NMTOKENS" name="oxf.xforms.logging.debug" <!--<property as="xs:NMTOKENS" name="oxf.xforms.logging.debug"
value="document model submission control event action analysis server server-body html resolver utils value="document model submission control event action analysis server server-body html resolver utils
submission-details submission-body"/>--> submission-details submission-body"/>-->
</properties> </properties>