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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users