I am working on a project that is using Drools to perform validation of
hierarchical XML messages.
So I have passed the XSDs through JAXB and have a set of interrelated
Java objects.
One of these objects (naturally) represents the root of the messages and
the others represent the intermediate
An XML schema just fitting your XML data will frequently not result in a
class
hierarchy that's well suited for writing rules.
One point deals with representing the parent-child relationship, especially
when there are multiple children of a kind, i.e., the parent class contains
a
List?. You have
November 2010 11:39
To: Drools users
Subject: [rules-users] What should I insert into the working memory?
I am working on a project that is using Drools to perform validation of
hierarchical XML messages.
So I have passed the XSDs through JAXB and have a set of interrelated
Java objects.
One
Hi Wolfgang,
Thanks for the helpful response.
I do find myself using contains and memberof quite a lot depending
on whether I am going up or down the tree structure. Is this a
performance problem? Is it better to use from?
Thanks for the hint about adding the parent pointer in the child. I'll