Im getting nasty errors when running the exampels Java Processor example of my own.
Hi Matt,
I am puzzled: I tried to run your BitTest.java and didn't have any problem. Let me tell you exactly what I did:
1) Downloaded OXF 2.2, uncompressed the oxf-2.2.zip, uncompressed oxf.war into a webapps/oxf directory in Tomcat.
2) Copied your BitTest.java in oxf/WEB-INF/resources/javaprocessor.
3) Edited the model.xpl in the same directory (see copy attached).
4) Edited oxf/WEB-INF/resources/config/controller.xml to just use javaprocessor/model.xpl and no view: <page path-info="/examples/javaprocessor" model="oxf:/javaprocessor/model.xpl"/>
5) Started Tomcat, went to localhost:8080/oxf/examples/javaprocessor
There I can see in the browser the output of your processor (<data/>). Are you getting an error if you do this?
Alex
<p:config xmlns:p="http://www.orbeon.com/oxf/pipeline">
<p:processor uri="oxf/processor/java">
<p:input name="config">
<config sourcepath="oxf:/javaprocessor" class="BitTest"/>
</p:input>
<p:output name="data" id="java-output"/>
</p:processor>
<p:processor uri="oxf/processor/xml-serializer">
<p:input name="config"><config/></p:input>
<p:input name="data" href="#java-output"/>
</p:processor>
</p:config>
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
