Hi,
Le mercredi 09 f�vrier 2005 � 00:59 +0100, Erik Bruchez a �crit :
> Eric van der Vlist wrote:
>
> > I didn't mean to require a detailed explanation :-) ...
> >
> > If I want to implement dynamic outputs (even without caching for the
> > time being), which of these methods do I need to implement and what is
> > the minimal implementation?
>
> Whether the output is dynamic or not, you just implement
> createOutput() and make sure that you return a ProcessorOutput
> object. If you know your processor has only a "data" output, for
> example, you don't need to even check on the "name", but if you have
> several outputs, you do need to check on the "name" attribute probably
> to create different outputs depending on their name. For test, you can
> just return instances of the same class.
OK.
> > I must be missing something since when I try this (very sub-minimal)
> > implementation:
>
> [...]
>
> > I get the following exception:
...
> >
> > (note that the exception is raised by the xml serialzer and that I don't
> > see my processor in the stack.
>
> The code hasn't reached your code yet: it tries to find a certain
> output and NPEs on it. Can you try to make sure that there is no stale
> version of the generated class file in your temp directory? Can you
> also put some System.out or similar (or use a debugger) in your
> createOutput() to see with what name that method is called?
Well, as you say, the code doesn't seem to reach my code. The start()
method is called, but the createOutput() one doesn't appear to be
called...
Eric
--
Carnet web :
http://eric.van-der-vlist.com/blog?t=category&a=Fran%C3%A7ais
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user