[rules-users] XStream

Wolfgang Laun wolfgang.laun at gmail.com
Wed Mar 10 03:01:52 EST 2010


If Kris' hint helps you, that's fine.

I have always used JAXB to unmarshal my XML data into a Java beans
tree, and then I walk the tree, inserting what needs to be inserted. I
feel that direct control gives me enough leeway to modify or not,
prior to insertion, etc. YMMV.
-W


2010/3/9 Bertrand Grottier <b_grottier at hotmail.com>:
> Hello,
>
> My general aim is to load facts from a xml file.
> I tried to modify an example furnished in the documentation
> (Example 3.37. Constructing a pipeline).
>
> I get an exception on the following line:
> Transformer transformer = PipelineFactory.newXStreamFromXmlTransformer(
> xstream );
>
> The message is the following:
> org.drools.ProviderInitializationException: Provider
> org.drools.runtime.pipeline.impl.XStreamTransformerProviderImpl could not be
> set.
>
> Am I going in the right direction ? (I am a newbie)
> If yes, have you got an explanation for my problem.
> Otherwise, what is the simplest way to achieve my goal ?
>
> Thank you in advance for your help.
>
> Regards,
>
> Benoît
>
> PS : I am using Drools 5.0
>
> ________________________________
> Envie de naviguer sur Internet sans laisser de trace? La solution avec
> Internet Explorer 8
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>




More information about the rules-users mailing list