maven and xstream issue

this should be tested with your applet.

just added and and ported your patch into an new xstream class (yes at the moment it is just copied and added 2 try-catch blocks)