This thread made me realize that the Scheduler processor was still using the old "URI" mechanism to refer to processors, instead of the new "QName" mechanism. I checked in a fix to bring this processor up to date. So you would write the config this way instead:

 <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-name>oxf:pipeline</processor-name>
       <input name="config" url="../harvest/harvest.xpl"/>
     </start-task>
   </p:input>
 </p:processor>

The old "processor-uri" element still works, but will be deprecated.

-Erik

Erik Bruchez wrote:
Matthew,

You are missing a <config> element around <start-task>. The context-initialized.xpl example is correct, the doc incorrect. Now fixed.

-Erik

Matthew J. Graham wrote:

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>


-------------------------------------------------------
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

Reply via email to