You probably meant getInputsInfo() returns only the declared inputs, no?
Those inputs are not like regular input streams: they represent XML infosets received as SAX events. So you can't receive them byte by byte, at the low level you have to implement a SAX ContentHandler. Why do you need a stream of bytes?
-Erik
Martin Schulte wrote:
Hi,
I would like to write a processor that can handle a variable number of inputs, e.g. it could be called with
<p:processor name="oxf:java">
<p:input name="config">
<config sourcepath="oxf:/java/src" class="com.example.MyProcessor"/>
</p:input>
<p:input name="input" href="#instance"/>
<p:input name="stylesheet" href="oxf:/transform.xsl"/>
<p:output name="output" ref="data"/>
</p:processor>
but also with
<p:processor name="oxf:java">
<p:input name="config">
<config sourcepath="oxf:/java/src" class="com.example.MyProcessor"/>
</p:input>
<p:input name="data1" href="oxf:/1.xhtml"/>
<p:input name="data2" href="oxf:/2.xhtml"/>
<p:input name="data3" href="oxf:/3.xhtml"/>
<p:input name="data4" href="oxf:/4.xhtml"/>
<p:output name="output" ref="data"/>
</p:processor>
How can I get the list of inputs that have been "assigned" to the processor?
It looks as if ProcessorImpl.getInputMap() returns only those that have been added with addInputInfo - that doesn't help me...
BTW: I would then read those input byte-wise, how can I do this?
Thanks,
Martin
------------------------------------------------------- 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
