Look at our xml reader.Its xerces based and pluggeable and should easily
be able to adapt to anything.
Mark
Geoffrey De Smet wrote:
For the solver I 'd like to externalize the configuration into an
xml(?) file.
something like
<localsearch decisionMode="OPTIMAL">
<finish steps="500"/>
<ruleBase location="/org/foo/bar/drools.drl"/>
</localsearch>
This is a bit inspired by how ehcache is configured, clean and easy,
without any class implementation details: the way users like it.
I 've been thinking on doing this with XStream, but that's not
versatile enough to make user friendly configuration files. Although
Xstream works out great to serialize solutions to and from xml files.
Next I was thinking about is JDom or Xom, but that's yet another
dependency. What would you guys recommend?