We would love to be able to create our own custom debug processor. Is org.orbeon.oxf.processor.DebugProcessor an interface, and if so, is it possible (now or in the future) to instruct OXF to use our custom DebugProcessorImpl class?
Scott, as discussed yesterday, we have changed the OXF code and we now access the DebugProcessor by its URI: oxf/processor/debug. The debug processor is now declared on the processors.xml with:
<processor uri="oxf/processor/debug">
<class name="org.orbeon.oxf.processor.DebugProcessor"/>
</processor>So you can plug your own custom processor and replace the OXF default debug processor by modifying processors.xml. Your processor needs to have a "data" and "config" input, and a "data" output. The "data" output document must be the same as the "data" input document. The "config" input receives a document that looks like <config>label</config>, where "label" is the value of the debug attribute in XPL (e.g. <p:input debug="label" .../>).
I will send you a patch for this in a private email.
Alex
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
