From: Stefan M. <ste...@un...> - 2010-10-01 07:18:02
|
On 30/09/10 19:53, Joseph Toman wrote: > declare namespace runtime="java:java.lang.Runtime"; > > runtime:exec(runtime:getRuntime(), "/usr/local/bin/convert myimage.gif myimage.jpg") > That works. One would have to enable java binding in conf.xml, which, obvioulsy causes some security issues. In any way one should prevent that user-crafted XQueries are posted to the server. cheers, Stefan |