Erik,
Thanks for your suggestions:

Good questions. I guess this will sound stupid, but did you restart
your servlet container after the changes, and did you double-check
that orbeon.jar contains your latest and greatest processors.xml, or
that you don't have more than one processors.xml, for example one in
orbeon.jar and one under classes?

After I'd proved to myself that my processors.xml was being read I found my factory problem. The pipeline I thought I was running, was an obsolete version of the one I should have been running, that used the oxf ns. Sorry to waste your time.

However the pipeline is now throwing the OXFException:
org.orbeon.oxf.common.OXFException: Can't load schema for URI: com:wynnon:oxf:processors
at org.orbeon.oxf.xml.SchemaRepository.getSchema(SchemaRepository.java:141)
at org.orbeon.oxf.xml.SchemaRepository.getResourceGenerator(SchemaRepository.java:113)
at org.orbeon.oxf.processor.ProcessorImpl.createInput(ProcessorImpl.java:146)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.createConfigFromAST(PipelineProcessor.java:290)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.readPipelineConfig(PipelineProcessor.java:460)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$2300(PipelineProcessor.java:61)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$9.read(PipelineProcessor.java:583)
at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:468)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:579)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.getInput(PipelineProcessor.java:141)
at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:928)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1066)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:342)
at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:347)
at org.orbeon.oxf.processor.IdentityProcessor$1.readImpl(IdentityProcessor.java:30)
at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:928)


My pipeline code follows (really!)
=====================
01 <p:config
02 xmlns:p="http://www.orbeon.com/oxf/pipeline";
03 xmlns:oxf="http://www.orbeon.com/oxf/processors";
04 xmlns:wynn="com:wynnon:oxf:processors">
05 <p:param type="input" name="instance"/>
06 <p:param type="output" name="data"/>
07 <p:processor name="wynn:http-post"
08 xmlns:p="http://www.orbeon.com/oxf/pipeline";>
09 <p:input name="config">
10 <config>
11 <url>http://www.cnn.com</url>
12 <content-type>text/html</content-type>
13 </config>
14 </p:input>
15 <p:output name="data" ref="data"/>
16 </p:processor>
17 </p:config>
=====================


If I dont define wynn in line 04, I get the OXFException
 'No namespace declaration for prefix: wynn'

Questions
---------
1. As I understand it, oxf: designates a protocol, should
  I be defining wynn as a protocol somehow, not as a namespace?
2. Why is OXF expecting a schema to be associated with the wynn namespace ?
3. What can I try to get my processor running ?

Bill.


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