Listeners: the doc needs to be updated

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Listeners: the doc needs to be updated

Eric van der Vlist
Hi,

I have noticed that the doc is outdated concerning listeners.

The format of properties has changed and the snippet given in the spec:

 <properties>  
        <property type="string" name="oxf.context-initialized-processor.uri" value="oxf/processor/pipeline"/>  
        <property type="string" name="oxf.context-initialized-processor.input.config" value="oxf:/config/init.xpl"/>  
        <property type="string" name="oxf.context-destroyed-processor.uri" value="oxf/processor/pipeline"/>  
        <property type="string" name="oxf.context-destroyed-processor.input.config" value="oxf:/config/destroy.xpl"/>  
</properties>

raises exceptions that block the servlet init!

Also, this change should be mentioned in the release notes.

Finally, is there a way to log the calls to these listeners? It's
frustrating not have to check their effects to try to guess if they have
been called :-) ...

Thanks,

Eric
--
Did you know it? Python has now a Relax NG (partial) implementation.
                                          http://advogato.org/proj/xvif/
------------------------------------------------------------------------
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
------------------------------------------------------------------------




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Listeners: the doc needs to be updated

Erik Bruchez
Administrator
Eric van der Vlist wrote:

> Hi,
>
> I have noticed that the doc is outdated concerning listeners.
>
> The format of properties has changed and the snippet given in the spec:
>
>  <properties>  
> <property type="string" name="oxf.context-initialized-processor.uri" value="oxf/processor/pipeline"/>  
> <property type="string" name="oxf.context-initialized-processor.input.config" value="oxf:/config/init.xpl"/>  
> <property type="string" name="oxf.context-destroyed-processor.uri" value="oxf/processor/pipeline"/>  
> <property type="string" name="oxf.context-destroyed-processor.input.config" value="oxf:/config/destroy.xpl"/>  
> </properties>
>
> raises exceptions that block the servlet init!
Thanks, I just updated the doc.

> Also, this change should be mentioned in the release notes.

Done.

> Finally, is there a way to log the calls to these listeners? It's
> frustrating not have to check their effects to try to guess if they have
> been called :-) ...

Done :-)

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws