Hi,
I have the following xpl:
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<!-- Start the scheduled harvesting -->
<p:processor name="oxf:scheduler">
<p:input name="config">
<start-task>
<name>Harvest</name>
<start-time>now</start-time>
<interval>300000</interval>
<synchronized>true</synchronized>
<processor-uri>oxf/processor/pipeline</processor-uri>
<input name="config" url="../harvest/harvest.xpl"/>
</start-task>
</p:input>
</p:processor></p:config>
To me this looks identical in syntax to what is in the documentation. Anyhow when I invoke it as a result of a button being pressed in a form, I get:
org.orbeon.oxf.common.ValidationException: oxf:/admin/start-harvest.xpl, line 9, column 19 : Error tag name "start-task" is not allowed. Possible tag names are: <config>(schema: http://www.orbeon.com/oxf/scheduler) : oxf:/admin/start-harvest.xpl, line 9, column 19: Error tag name "start-task" is not allowed. Possible tag names are: <config>(schema: http://www.orbeon.com/oxf/scheduler)
at org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSVVa lidationProcessor.java:185)
at com.sun.msv.verifier.Verifier.onError(Verifier.java:336)
at com.sun.msv.verifier.Verifier.onError(Verifier.java:328)
at com.sun.msv.verifier.Verifier.startElement(Verifier.java:193)
at org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java :77)
at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:160)
at org.orbeon.oxf.processor.generator.DOMGenerator$1.readImpl(DOMGenerator. java:137)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:930)
Not really understanding what is causing the problem.
Cheers,
Matthew------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user
