<div dir="ltr"><div><div>Hi,<br><br></div>is there any workaround available for below issue?<br><br></div>-Shameer<br><div><div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Shameer E S</b> <span dir="ltr">&lt;<a href="mailto:shameerind@gmail.com">shameerind@gmail.com</a>&gt;</span><br>
Date: Thu, Jul 17, 2014 at 3:09 PM<br>Subject: Processing xml with control characters in droolserver<br>To: <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><br><br><div dir="ltr"><div><div>
<div>Hi,<br><br></div>I am sending xml to initiate rule execution in drools server 5.4. When there is control character in the xml, it is failing with following error, is there any way to overcome this?<br>
<br>16 Jul 2014 00:03:28,852 ERROR [org.apache.camel.processor.DefaultErrorHandler] (http--0.0.0.0-8080-239) Failed delivery for exchangeId: ID-svl-prod-prwf04-juniper-net-51091-1404737660521-0-3260214. Exhausted after delivery attempt: 1 caught: com.thoughtworks.xstream.converters.ConversionException:  : Illegal character ((CTRL-CHAR, code 8)) [note: in XML 1.1, it could be included via entity expansion]<br>

 at [row,col {unknown-source}]: [30,126] :  : Illegal character ((CTRL-CHAR, code 8)) [note: in XML 1.1, it could be included via entity expansion]<br> at [row,col {unknown-source}]: [30,126]<br>---- Debugging information ----<br>

message             :  : Illegal character ((CTRL-CHAR, code 8)) [note: in XML 1.1, it could be included via entity expansion]<br> at [row,col {unknown-source}]: [30,126]<br>cause-exception     : com.thoughtworks.xstream.io.StreamException<br>

cause-message       :  : Illegal character ((CTRL-CHAR, code 8)) [note: in XML 1.1, it could be included via entity expansion]<br> at [row,col {unknown-source}]: [30,126]<br>class               : java.lang.String<br>required-type       : java.lang.String<br>

converter-type      : com.thoughtworks.xstream.converters.SingleValueConverterWrapper<br>wrapped-converter   : com.thoughtworks.xstream.converters.basic.StringConverter<br>path                : /batch-execution/set-global[7]/map/entry[50]/string[2]<br>

line number         : 2<br>class[1]            : java.util.HashMap<br>converter-type[1]   : com.thoughtworks.xstream.converters.collections.MapConverter<br>class[2]            : org.drools.command.runtime.SetGlobalCommand<br>

converter-type[2]   : org.drools.runtime.help.impl.XStreamXML$SetGlobalConverter<br>class[3]            : org.drools.command.runtime.BatchExecutionCommandImpl<br>converter-type[3]   : com.thoughtworks.xstream.converters.reflection.ReflectionConverter<br>

version             : null<br><br></div>Thanks &amp; Regards,<br></div>Shameer<br></div>
</div><br></div></div></div></div>