Hi,

is there any workaround available for below issue?

-Shameer

---------- Forwarded message ----------
From: Shameer E S <shameer...@gmail.com>
Date: Thu, Jul 17, 2014 at 3:09 PM
Subject: Processing xml with control characters in droolserver
To: rules-users@lists.jboss.org


Hi,

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?

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]
 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]
 at [row,col {unknown-source}]: [30,126]
---- Debugging information ----
message             :  : Illegal character ((CTRL-CHAR, code 8)) [note: in
XML 1.1, it could be included via entity expansion]
 at [row,col {unknown-source}]: [30,126]
cause-exception     : com.thoughtworks.xstream.io.StreamException
cause-message       :  : Illegal character ((CTRL-CHAR, code 8)) [note: in
XML 1.1, it could be included via entity expansion]
 at [row,col {unknown-source}]: [30,126]
class               : java.lang.String
required-type       : java.lang.String
converter-type      :
com.thoughtworks.xstream.converters.SingleValueConverterWrapper
wrapped-converter   :
com.thoughtworks.xstream.converters.basic.StringConverter
path                : /batch-execution/set-global[7]/map/entry[50]/string[2]
line number         : 2
class[1]            : java.util.HashMap
converter-type[1]   :
com.thoughtworks.xstream.converters.collections.MapConverter
class[2]            : org.drools.command.runtime.SetGlobalCommand
converter-type[2]   :
org.drools.runtime.help.impl.XStreamXML$SetGlobalConverter
class[3]            : org.drools.command.runtime.BatchExecutionCommandImpl
converter-type[3]   :
com.thoughtworks.xstream.converters.reflection.ReflectionConverter
version             : null

Thanks & Regards,
Shameer
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to