> The only problem is still invalid xml input.
> When I sent "bla <tag1>blubb</tag2>" it just dies without any notice.
>
> How can I prevent this?
>
> Is there a way to create a auto respawn server?
>

Hi Bernd

I've checked in a change to moses that will cause it to throw an exception on 
bad xml input, instead of abort()ing.

For regular moses this will not change the behaviour, as the uncaught 
exception will cause an abort().

For moses server, the exception is caught by the xmlrpc-c infrastructure, 
which returns an error message to the client. The server does not exit, but 
is available for further requests.

Hope that helps,

Barry

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to